The HAVING clause is only useful when we use it with the GROUP BY clause to generate the output of the high-level reports. For example, we can use the HAVING clause to answer some kinds of queries like give me all the orders in this month, this quarter, and this year that have total sales greater than 10K.