So the problem is:
fan(fanID: integer, fanName: string)
band(bandID: integer, bandName: string)
likes(fanID: integer, bandID: integer)
bandMember(memID: integer, memName: string, bandID: integer, nationality: string)
(a) List the names of the bands that have only British members.
At first I thought I came up with this solution:
Select bandname
from band
where band.id NOT IN
(select bandMember.id
from bandMember
where nationality <> 'British')
BUT then I was thinking how I was only selecting a band with AT LEAST one british member. It doesn't necessarily mean that everyone is British. Can someone help think of a way to query to find all the members of a certain band to check if they're all british??