HAVING clause can only be used if the SELECT query has GROUP BY clause.
SQL Joins & Grouping
3 Likes
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.