what is the difference between having and where? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

what is the difference between having and where?

4th Dec 2017, 2:34 AM
Jesús Hernández Santiago
Jesús Hernández Santiago - avatar
2 Answers
+ 1
you can use WHERE in general, but when you use GROUP BY you cannot use WHERE you should use HAVING instead
5th Dec 2017, 7:30 AM
Hamid Soltani