📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which clause is used to filter groups after GROUP BY?

A. LIMIT
B. WHERE
C. HAVING ✅
D. ORDER BY

Correct Answer: C. HAVING

Explanation

HAVING filters grouped results, while WHERE filters individual rows before grouping.