nerdexam
Oracle

1Z0-061 · Question #144

1Z0-061 Question #144: Real Exam Question with Answer & Explanation

The correct answer is B. The number of columns and data types must be identical for all SELECT statements in the query. INTERSECT Returns only the rows that occur in both queries' result sets, sorting them and removing duplicates. The columns in the queries that make up a compound query can have different names, but the output result set will use the names of the columns in the first query.

Question

Which statement is true regarding the INTERSECT operator?

Options

  • AIt ignores NULL values
  • BThe number of columns and data types must be identical for all SELECT statements in the query
  • CThe names of columns in all SELECT statements must be identical
  • DReversing the order of the intersected tables the result

Explanation

INTERSECT Returns only the rows that occur in both queries' result sets, sorting them and removing duplicates. The columns in the queries that make up a compound query can have different names, but the output result set will use the names of the columns in the first query.

Community Discussion

No community discussion yet for this question.

Full 1Z0-061 Practice