CBSE Class 12 Computer Science
Question 38 of 91
Grouping Records, Joins in SQL — Question 16
Back to all questionsHaving
Reason — When using the SUM() function in a condition, it is used with the HAVING clause. The HAVING clause is used to apply conditions to groups of rows after the GROUP BY operation has been performed, making it suitable for conditions involving aggregate functions like SUM().