Which clause forms groups before aggregate functions are applied?
-
A
GROUP BY
Correct answer
-
B
ORDER BY
-
C
WHERE
-
D
LIMIT
Correct answer
A. GROUP BY
15 views
Explanation
GROUP BY partitions the rows into groups, and each aggregate is then computed per group.
Reference
Asked in: NTS, PPSC IT, Interviews
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ