Computer Science for IGCSE & O level - Databases (Section 4 - No. 21)

What is the purpose of the HAVING clause in SQL?
To filter rows based on conditions applied to aggregate functions.
To sort the results.
To specify which tables to use.
To join tables.

Explanation

The HAVING clause is used to filter results based on aggregate function results (e.g., SUM, COUNT).

Comments (0)

Advertisement