Complete the code to delete rows where the age is 30.
DELETE FROM users WHERE age [1] 30;
The = operator checks for equality. This deletes rows where age equals 30.
Complete the code to delete rows where the status is 'inactive'.
DELETE FROM accounts WHERE status [1] 'inactive';
The = operator matches the exact value 'inactive'.
Fix the error in the code to delete rows where score is less than 50.
DELETE FROM results WHERE score [1] 50;
The correct operator for 'less than' is <. The == operator is not valid in SQL.
Fill both blanks to delete rows where the city is 'Paris' and age is greater than 25.
DELETE FROM customers WHERE city [1] 'Paris' [2] age > 25;
The = operator checks city equals 'Paris'. The AND combines both conditions so both must be true.
Fill all three blanks to delete rows where the product is 'Book' and quantity is less than 10.
DELETE FROM orders WHERE product [1] 'Book' [2] quantity [3] 10;
Use = to check product equals 'Book'. Use AND to combine conditions. Use < to check quantity less than 10.