Direction: Choose the correct option
Q1.
What is a multi-row subquery?
Direction: Choose the correct option
Q2.
SELECT * FROM employees WHERE salary > ANY (SELECT salary FROM employees WHERE department = 'IT');What does ANY do?Direction: Choose the correct option
Q3.
SELECT * FROM employees WHERE salary > ALL (SELECT salary FROM employees WHERE department = 'IT');What does ALL do?Direction: Choose the correct option
Q4.
What's the difference between IN and EXISTS?
Direction: Choose the correct option
Q5.
SELECT * FROM employees WHERE dept_id NOT IN (SELECT id FROM departments);What does this find?