In SQL, the HAVING clause is used to apply conditions to groups created by the _______ clause.

  • GROUP BY
  • ORDER BY
  • SELECT
  • WHERE
In SQL, the HAVING clause is used to apply conditions to groups created by the GROUP BY clause. This allows you to filter the results of aggregate functions based on specified criteria, providing more flexibility in analyzing grouped data. It is commonly used in conjunction with GROUP BY to filter aggregated results.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *