Single Choice Easy

QWhich aggregation function in MySQL returns the total number of non-null values in a column?

ID: #15502 Aggregation functions - MySQL 121 views
Question Info
#15502Q ID
EasyDifficulty
Aggregation functions - MySQLTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A AVG ✔ ✖
  • B SUM ✔ ✖
  • C COUNT ✔ ✖
  • D NONNULL ✔ ✖
Correct Answer

Explanation

The COUNT function in MySQL, when used without any modifiers, returns the total number of non-null values in a column. It counts all the non-null records in the specified column.

Share This Question

Challenge a friend or share with your study group.