Definition: In this task you will be given an answer to a question. You need to generate a question. The answer given should be a correct answer for the generated question.
Input: A HAVING clause in SQL specifies that an SQL SELECT statement should only return rows where aggregate values meet the specified conditions. It was added to the SQL language because the WHERE keyword could not be used with aggregate functions.
Output:
why do we use having clause in sql