What s the difference b/w HAVING and WHERE ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What s the difference b/w HAVING and WHERE ?

18th Nov 2016, 9:12 PM
Mohammed Slimani
Mohammed Slimani - avatar
1 Answer
+ 1
Difference between the HAVING and WHERE clause in sql is that the WHERE clause can not be used with aggregates (count, average, min, max, sum, etc) , but the HAVING clause can.
18th Nov 2016, 10:28 PM
Vladimir Honcharenko
Vladimir Honcharenko - avatar