Which of the following is an aggregate function?
Which of the following is an aggregate function?
Solution
✅ Correct Option: 3
AVG() works on a whole column of values across many rows and returns a single value (the average). That is what makes a function an aggregate function. Others in this group are SUM(), COUNT(), MAX() and MIN().
Options 1, 2 and 4: DATE(), INSTR() and MID() are single-row functions. DATE() works on a date value, INSTR() finds the position of a substring and MID() extracts part of a string, each returning one result per row.
Related questions:
2026: 18 May Shift 2
2026: 31 May Shift 1
2025: 22 May Shift 1
2025: 16 May Shift 1
2026: 24 May Shift 1