Computer Science
HAVING clause can only be used if the SELECT query has GROUP BY clause.
SQL Joins & Grouping
1 Like
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.
Answered By
1 Like