DEV Community

[Comment from a deleted post]
Collapse
 
waylonwalker profile image
Waylon Walker

The last thing to cover off is HAVING. This allows us to put a condition on the aggregate. This is different from using a WHERE that puts a condition on individual rows.

Great explanation of having vs. where. All this time my explanation was having goes after a group by and that is just how it is. This makes much more sense.