QuestionQ214

VerifiedUsing the SET Operators

Which statement is correct about the INTERSECT operator?

Explanation

INTERSECT compares corresponding columns from its input queries, so each SELECT must return the same number of columns and the corresponding data types must be compatible. Column names need not match, and NULL values are included in set comparison; in SQL Server, two NULL values are treated as equal for determining distinct rows.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!