nerdexam
Oracle

1Z0-071 · Question #1

Which statement is true regarding the INTERSECT operator?

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.

Exadata Administration

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

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    75% (18)
  • C
    4% (1)
  • D
    8% (2)

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.

Topics

#INTERSECT operator#set operations#column data types#NULL values

Community Discussion

No community discussion yet for this question.

Full 1Z0-071 Practice