Q. What does the INTERSECT operator do in SQL?

A
Combines all rows from two queries
B
Returns common rows from two queries
C
Excludes matching rows
D
Joins tables
Solution:

INTERSECT returns only the rows that are common to both queries, removing duplicates.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!