← Quiz: GROUP BY and HAVING: all 10 questions
Quiz: GROUP BY and HAVING · Question 2 of 10
A column has values 10, NULL, 20. What is COUNT(column)?
A column has values 10, NULL, 20. What is COUNT(column)?
- A.3
- B.2
- C.30
- D.NULL
Answer & explanation
Correct answer: 2
COUNT(column) counts only non-NULL values.
Can you get the rest right without peeking?
Take the timed Quiz: GROUP BY and HAVING quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →