Advertisements
Advertisements
Question
Which aggregate function can be used to find the cardinality of a table?
Options
sum()
count()
avg()
max()
MCQ
Solution
count()
Explanation:
Cardinality describes the number of rows in a table. The COUNT() aggregate function is used to calculate the number of rows in a table or the number of non-null entries in a given column.
shaalaa.com
Is there an error in this question or solution?