Single Choice
Easy
QWhich aggregation function in MySQL returns the number of distinct values in a column?
ID: #15501
Aggregation functions - MySQL
92 views
Question Info
#15501Q ID
EasyDifficulty
Aggregation functions - MySQLTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The COUNT function in MySQL, when used with the DISTINCT keyword, returns the number of distinct values in a column. It counts only the unique values and disregards duplicates.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic