Intersection
A set operation returning only rows that appear in both query results — one of three classical relational set operations.
INTERSECT is one of three classical relational set operations (along with UNION and EXCEPT/MINUS). If you have two SQL queries, you can combine them with INTERSECT to get only rows appearing in both results. For example, find all products that are both in stock AND have been ordered this month by intersecting the results from two separate queries.
Set operations like intersection are theoretically powerful but often slow in practice — a JOIN usually executes faster for the same result. Still, they're mathematically fundamental to relational database theory and a DBMS must support them to claim being relational. Intersection sees far less use than UNION in real applications, but it's valuable for data integration, verification, and finding commonalities between datasets.