New course! Every coder should learn Generative AI!
Try a free lesson+ 2
what is the difference between having and where?
2 Answers
+ 7
maybe this will help ....
https://stackoverflow.com/questions/287474/whats-the-difference-between-having-and-where
+ 1
you can use WHERE in general, but when you use GROUP BY you cannot use WHERE you should use HAVING instead