I have this table: club(clubname, membername)
photography | Jim
photography | Eve
photography | Alex
woodworking | Jim
woodworking | Alex
cooking | Alex
How do I find the names of people who are in at least the same clubs as Jim?
In this example, I want to return Alex.
I know how to find the names of people in ANY of the same clubs as Jim
SELECT DISTINCT C1.membername
FROM clubname C1, clubname C2
WHERE C1.clubname = C2.clubname AND C2.membername = 'Jim" AND C1.membername <> 'Jim'
But how do I specify that I only want the people who are in ALL of the same clubs as Jim?