Revolut interview question

When do you use the HAVING clause in SQL?