So I've been studying for an exam and ive come across a question that I kind of need help with.
The code is trying to find the names of sailors that reserve all boats:
SELECT
S.sname
FROM
Sailors S
WHERE
NOT EXISTS ((SELECT B.bid
FROM Boats B)
EXCEPT
(SELECT R.bid
FROM Reserves R
WHERE R.sid = S.sid))
Now I feel like I get most of it but the only issue I'm having is Except and Not Exists and how they work together when doing division like the case presented above. I think I get what not exists and except do separately but together is where my confusion lies