← Quiz: GROUP BY and HAVING: all 10 questions
Quiz: GROUP BY and HAVING · Question 4 of 10
A column has values 10, NULL, 20. What is AVG(column)?
A column has values 10, NULL, 20. What is AVG(column)?
- A.10
- B.15
- C.NULL
- D.30
Answer & explanation
Correct answer: 15
AVG ignores NULL: (10 + 20) / 2 = 15.
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 →