Which SQL clause is used to filter the results of a GROUP BY operation?
Answer
HAVING
Explanation
The HAVING clause filters groups after aggregation, whereas WHERE filters rows before grouping.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In SQL, which function is used to return the number of rows in a table?
View question →
A BI analyst is asked to identify the top 10 customers by revenue. Which SQL clause is essential to limit the result to 10 rows?
View question →
Which of the following are common data quality dimensions? (Select all that apply.)
View question →
Which of the following are benefits of using a star schema over a normalized schema for BI? (Select all that apply.)
View question →
A BI analyst needs to calculate the year-over-year growth in sales. Which SQL function is most appropriate for this task?
View question →
Which of the following are appropriate ways to present time-series data in a dashboard? (Select all that apply.)
View question →