Which SQL clause is used to filter grouped records?
A. WHERE
B. ORDER BY
C. HAVING
D. LIMIT
Explanation:
The HAVING clause is used to filter grouped records after GROUP BY. WHERE filters rows before grouping, while HAVING filters groups based on aggregate conditions such as COUNT or SUM.