← Quiz: Filtering and Sorting: all 10 questions
Quiz: Filtering and Sorting · Question 2 of 10
What does WHERE deptid = NULL return?
What does WHERE dept_id = NULL return?
- A.Rows with no department
- B.No rows
- C.All rows
- D.An error in all databases
Answer & explanation
Correct answer: No rows
Comparing with NULL using = is never true. Use IS NULL.
Can you get the rest right without peeking?
Take the timed Quiz: Filtering and Sorting quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →