select *
from people
where understanding_of_venn_diagrams = 'Y'intersect
select *
from people
where understanding_of_sql = 'Y';
DESCRIPTION
-------------------------
People who understand this is
a Venn diagram in disguise