Consider the following schema:
Sailors(sid: integer, sname: string, rating: integer, age: real)
Consider the following query:
Find the names of sailors with a higher rating than all sailors with age < 21.
Which of the following SQL queries will obtain the correct answer to this question.
SELECT S.sname FROM Sailors S WHERE NOT EXISTS ( SELECT * FROM Sailors S2 WHERE S2.age < 21 AND S.rating <= S2.rating)
SELECT S.sname FROM Sailors S WHERE S.rating > ANY ( SELECT S2.rating FROM Sailors S2 WHERE S2.age < 21)