+ 1

why having came into existence wouldnot where have done all the work

having clause

14th Jul 2016, 8:25 PM
manish rawat
manish rawat - avatar
2 odpowiedzi
+ 2
Where comes before the group by clause whereas having comes after the group by clause.. So, where cannot filter after the grouping whereas having can filter after the group by
16th Jul 2016, 2:45 AM
Lahari
0
some question cannot be answered unless you group them and apply group functions on them. so the developer made it easier for us by developing having clause. As Lahari said they are programed to work in that manner.
23rd Jul 2016, 4:47 PM
Saurabh Joshi
Saurabh Joshi - avatar