Skip to main contentSkip to solution

Which of the following statements are correct?

(A) Aggregate functions are also known as group functions.

(B) The aggregate function returns one result for a group of rows.

(C) Aggregate function can be used in SELECT clause.

(D) Aggregate function can be used in ORDER BY clause.

Solution

✅ Correct Option: 1

Aggregate functions such as SUM, AVG, COUNT, MIN and MAX are also called group functions (A). They work on a group of rows and return a single result for that group (B). They are written in the SELECT clause to display that result (C), for example SELECT COUNT(*) FROM student;\text{SELECT COUNT(*) FROM student;}

Statement (D) is treated as incorrect in the key. At CUET level, aggregate functions are taught for the SELECT (and HAVING) clauses, not for ORDER BY.


We believe the answer could be Option 3, since SQL allows an aggregate in ORDER BY along with GROUP BY, for example ORDER BY COUNT(*). However, NTA's final answer key (after all challenges) says Option 1.

Keyboard Shortcuts

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