单选题Which operator can be used with a multiple-row subquery?()A =B LIKEC BETWEEND NOT INE ISF

题目
单选题
Which operator can be used with a multiple-row subquery?()
A

=

B

LIKE

C

BETWEEN

D

NOT IN

E

IS

F

<>

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which three statements about subqueries are true? ()

  • A、A main query can have more than one subquery.
  • B、A subquery can have more than one main query.
  • C、The subquery and main query must retrieve data from the same table.
  • D、The subquery and main query can retrieve data from different tables.
  • E、Only one column or expression can be compared between the subquery and main query.
  • F、Multiple columns or expression can be compared between the subquery and main query.

正确答案:A,C,E

第2题:

In which four clauses can a subquery be used? ()

  • A、in the INTO clause of an INSERT statement
  • B、in the FROM clause of a SELECT statement
  • C、in the GROUP BY clause of a SELECT statement
  • D、in the WHERE clause of a SELECT statement
  • E、in the SET clause of an UPDATE statement
  • F、in the VALUES clause of an INSERT statement

正确答案:B,D,E,F

第3题:

You define a multiple-row subquery in the WHERE clause of an SQL query with a comparison operator "=". What happens when the main query is executed? ()

A. The main query executes with the first value returned by the subquery.

B. The main query executes with the last value returned by the subquery.

C. The main query executes with all the values returned by the subquery.

D. The main query fails because the multiple-row subquery cannot be used with the comparison operator.

E. You cannot define a multiple-row subquery in the WHERE clause of a SQL query.


参考答案:D

第4题:

Which two statements about subqueries are true? ()

  • A、A single row subquery can retrieve data from only one table.
  • B、A SQL query statement cannot display data from table B that is referred to in its subquery, unless table B is included in the main query's FROM clause.
  • C、A SQL query statement can display data from table B that is referred to in its subquery, without including B in its own FROM clause.
  • D、A single row subquery can retrieve data from more than one table.
  • E、A single row subquery cannot be used in a condition where the LIKE operator is used for comparison.
  • F、A multiple-row subquery cannot be used in an INSERT statement to insert multiple rows at a time.

正确答案:D,F

第5题:

Which two statements are true regarding subqueries? ()

  • A、A subquery can retrieve zero or more rows 
  • B、Only two subqueries can be placed atone level 
  • C、A subquery can be used only in SQL query statements 
  • D、A subquery can appear on either side of a comparison operator 
  • E、There is no limit on the number of subquery levels in the WHERE clause of a SELECT statement 

正确答案:A,D

第6题:

Which three statements about subqueries are true?()

  • A、A single row subquery can retrieve only one column and one row.
  • B、A single row subquery can retrieve only one row but many columns.
  • C、A multiple row subquery can retrieve multiple rows and multiple columns.
  • D、A multiple row subquery can be compared by using the ">" operator.
  • E、A single row subquery can use the IN operator.
  • F、A multiple row subquery can use the "=" operator.

正确答案:B,C,D

第7题:

You define a multiple-row subquery in the WHERE clause of an SQL query with a comparison operator "=". What happens when the main query is executed? ()

  • A、The main query executes with the first value returned by the subquery.
  • B、The main query executes with the last value returned by the subquery.
  • C、The main query executes with all the values returned by the subquery.
  • D、The main query fails because the multiple-row subquery cannot be used with the comparison operator.
  • E、You cannot define a multiple-row subquery in the WHERE clause of a SQL query.

正确答案:D

第8题:

Which two statements about subqueries are true? ()

  • A、A subquery should retrieve only one row.
  • B、A subquery can retrieve zero or more rows.
  • C、A subquery can be used only in SQL query statements.
  • D、Subqueries CANNOT be nested by more than two levels.
  • E、A subquery CANNOT be used in an SQL query statement that uses group functions.
  • F、When a subquery is used with an inequality comparison operator in the outer SQL statement, the column list in the SELECT clause of the subquery should contain only one column.

正确答案:B,F

第9题:

Which two statements about subqueries are true?()

  • A、A single row subquery can retrieve data from only one table.
  • B、A SQL query statement cannot display data from table B that is referred to in its subquery, unless table B is included in the main query's FROM clause.
  • C、A SQL query statement can display data from table B that is referred to in its subquery, without including table B in its own FROM clause.
  • D、A single row subquery can retrieve data from more than one table.
  • E、A single row subquery cannot be used in a condition where the LIKE operator is used for comparison.
  • F、A multiple-row subquery cannot be used in a condition where the LIKE operator is used for comparison.

正确答案:B,D

第10题:

Which operator can be used with a multiple-row subquery?()

  • A、=
  • B、LIKE
  • C、BETWEEN
  • D、NOT IN
  • E、IS
  • F、<>

正确答案:D

更多相关问题