This prompted me to go look it up, since I didn't know. HAVING is WHERE for aggregate functions (SUM, etc).
Funny thing is, I've used HAVING a lot in the past, but couldn't have explained the difference succinctly without cheating and looking it up.
Funny thing is, I've used HAVING a lot in the past, but couldn't have explained the difference succinctly without cheating and looking it up.