Computer Science for IGCSE & O level - Databases (Section 2 - No. 25)
What is the role of the `HAVING` clause in an SQL query?
To filter data before the `GROUP BY` clause.
To filter aggregated data after the `GROUP BY` clause.
To sort the result set.
To specify which columns to select.
Explanation
The `HAVING` clause filters the results of grouped data based on a specified condition, working in conjunction with the `GROUP BY` clause.
Comments (0)
