Direction: Choose the correct option
Q1.
SELECT * FROM employees WHERE salary > 50000;What does this query return?Direction: Choose the correct option
Q2.
SELECT name, salary FROM employees WHERE department = 'IT' AND salary > 60000;How many conditions in WHERE?Direction: Choose the correct option
Q3.
SELECT * FROM products WHERE category = 'Electronics' OR category = 'Clothing';What does OR do?Direction: Choose the correct option
Q4.
SELECT * FROM employees WHERE NOT department = 'IT';What will this return?Direction: Choose the correct option
Q5.
SELECT * FROM orders WHERE (status = 'Pending' OR status = 'Processing') AND total > 100;What is the purpose of parentheses?