Intersection
The intersection of two sets of rows produces
a table that contains rows that exist in both the original tables.
Use the keyword EXISTS or IN to introduce subqueries that show the
intersection of two sets. The following figure illustrates the intersection
set operation.
The following query is an example of a nested SELECT statement
that shows the intersection of the stock and items tables.
The result contains all the elements that appear in both sets and
returns the following rows.