Which of the following is an aggregate function in MySQL?
2026
Which of the following is an aggregate function in MySQL?
- A.
SUM()
- B.
MOD()
- C.
MID()
- D.
POWER()
Attempted by 683 students.
Show answer & explanation
Correct answer: A
In MySQL, aggregate functions perform a calculation on a set of values and return a single value. SUM() is the correct answer as it calculates the total sum of numeric values in a column. Functions like MOD(), MID(), and POWER() are mathematical or string functions, not aggregate functions.