There is very little time left until the end of the month! Help us pay for hosting and infrastructure. 🖥️ Support sqltest →
SQL code copied to buffer
Task 240:

What is the difference between HAVING and WHERE?

Explain, in your own words, the difference between the WHERE clause and the HAVING clause in SQL. Mention when each one is used and give a short example of a query where only HAVING would work correctly.

Write your answer in the field below and click the "Check!" button.

Tutorial Get hint
Voice input Stop listening Clear answer

Hi! Could we please enable some services and cookies to improve your experience and our website?

Privacy & Cookie Policy.