Q. How would you select all employees from the ‘Employees’ table who are in the ‘Sales’ department OR the ‘Marketing’ department?
Solution:
The IN operator is a shorthand for multiple OR conditions. It checks if a value matches any value in a list. Option A is logically impossible (a department cannot be both ‘Sales’ and ‘Marketing’ at the same time).
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.