📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which aggregate function ignores NULL values?

A. ORDER BY
B. HAVING
C. SUM ✅
D. COUNT(*)

Correct Answer: C. SUM

Explanation

  • SUM ignores NULL values when adding.
  • COUNT(*) is the exception that counts rows rather than values; SUM treats missing values as absent, not zero.