Partners Group interview question

How will you use HAVING in an SQL query?