MCQ Single Best Answer Easy

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

ID: #15502 Aggregation functions - MySQL 93 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: Option C

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.