More on Set-Comparison Operators
We’ve already seen IN, EXISTS and UNIQUE. Can also use NOT IN, NOT EXISTS and NOT UNIQUE.
Also available: op ANY, op ALL
Find sailors whose rating is greater than that of some sailor called Horatio:
WHERE S.rating > ANY (SELECT S2.rating
WHERE S2.sname=‘Horatio’)