Test Index
CBSE Class 12 Computer Science 2025 Paper Set 4
© examsnet.com
Question : 14 of 37
Marks:
+1,
-0
Which aggregate function in SQL displays the number of values in the specified column ignoring the NULL values ?
Solution:
Concept:
COUNT(column) counts the non-NULL values in that column; COUNT(*) counts all rows.Explanation:For a column x holding 1, NULL, 3:SELECT COUNT(x), COUNT(*) FROM T;-> 2, 3
len(), number() and num() are not SQL aggregate functions.Answer:Option B (count())© examsnet.com
Go to Question: