Complete the code to select rows where the column 'age' is NULL.
SELECT * FROM users WHERE age [1] NULL;In SQL, NULL is not a value, so you must use IS or IS NOT to check for NULL.
Complete the code to select rows where 'salary' is NOT NULL.
SELECT * FROM employees WHERE salary [1] NULL;To check that a column is not NULL, use IS NOT NULL in SQL.
Fix the error in the query to find rows where 'score' is NULL.
SELECT * FROM results WHERE score [1] NULL;Use IS NULL to check for NULL values, not '=' or other operators.
Fill both blanks to select rows where 'date' is NULL or 'status' is NOT NULL.
SELECT * FROM orders WHERE date [1] NULL OR status [2] NULL;
Use IS NULL to check for NULL and IS NOT NULL to check for NOT NULL.
Fill all three blanks to select rows where 'price' is NULL, 'quantity' is NOT NULL, and 'discount' equals 0.
SELECT * FROM sales WHERE price [1] NULL AND quantity [2] NULL AND discount [3] 0;
Use IS NULL for NULL, IS NOT NULL for NOT NULL, and '=' for exact value comparison.
