A subquery is a SELECT statement nested inside another SQL statement. They can appear in the WHERE clause, FROM clause, or even the SELECT list — letting you answer complex questions in a single query without temporary tables.
1-B 2-B 3-B 4-A | 5 parentheses () 6 IN 7 = SELECT * FROM products WHERE price > (SELECT AVG(price) FROM products); 8 = WHERE class_id = (SELECT class_id ... ORDER BY AVG DESC LIMIT 1) 9 = WHERE id IN (SELECT user_id FROM orders) | 10 = When you need columns from both tables or better performance