Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(Aggregate function)(Description)
(A) count(marks)(I) Count all rows
(B) count(*)(II) Finding average of non null values of marks
(C) avg(marks)(III) Count all non null values of marks column
(D) sum(marks)(IV) Finding sum of all marks

Solution

✅ Correct Option: 1
List IList II
(A) count(marks)(III) Count all non null values of marks column
(B) count(*)(I) Count all rows
(C) avg(marks)(II) Finding average of non null values of marks
(D) sum(marks)(IV) Finding sum of all marks

count(*) counts every row, including rows where marks is NULL. count(marks) counts only rows where marks is not NULL.

All aggregate functions except count(*) ignore NULL values.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question