sqlwhere-clausehaving

What is the difference between HAVING and WHERE?


What is the difference between HAVING and WHERE in an SQL SELECT statement?


Solution

  • HAVING specifies a search condition for a group or an aggregate function used in SELECT statement.

    Source