QuestionQ138

VerifiedUsing the SET Operators

Refer to the exhibits and review the structures of the products and sales tables.

Question Image

Question Image

Which two SQL statements produce the same output?

Question Image

Choose two
Explanation

INTERSECT returns the distinct PROD_ID values present in both tables. An inner join on equal PROD_ID values identifies the same common IDs, and DISTINCT removes duplicates resulting from multiple matching sales rows.

Community Discussion

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