- Think before you run it: Biology has no instructors. How many rows does this query return?
sql
SELECT name FROM instructor
WHERE salary > ALL (SELECT salary FROM instructor WHERE dept_name = 'Biology');- The instructors who earn more than every instructor in Physics:
name, thensalary. - The instructors who earn more than at least one instructor in Physics:
name, thensalary. - The department with the largest budget, found with
>= ALL:dept_name.