Q. What does this query do?
Code:
SELECT name FROM students WHERE age BETWEEN 18 AND 22;
β
Correct Answer: (D)
Selects students aged between 18 and 22 inclusive
Explanation: `BETWEEN` includes both boundary values: 18 and 22.