CBSE Class 12 Computer Science Question 55 of 91

Grouping Records, Joins in SQL — Question 11

Back to all questions
11
Question

Question 11

HAVING clause can only be used if the SELECT query has GROUP BY clause.

Answer

True

Reason — The HAVING clause in SQL works with grouped data, applying conditions to groups that meet certain criteria. Therefore, HAVING clause can only be used if the SELECT query has GROUP BY clause.