I don't know how to explain the problem in a generic way so i'll post the specific case:
i have 3 tables:
Sailors:
S(ids, names, rating, age)
Boats:
B(idb, nameb, color)
Bookings:
Bo(ids, idb, date)
i have to write a query that finds all the sailors who have booked EVERY boat.
Even if i posted a specific case i'd like a generic answare that can be applied to every problem of tha same kind.
thank you in advance.