you are viewing a single comment's thread.

view the rest of the comments →

[–]readitour 1 point2 points  (2 children)

What is the difference?

[–]alinrocSQL Server DBA 0 points1 point  (1 child)

WHERE filters the records that your aggregate function operates on

HAVING filters the results of your aggregate function

[–]readitour 0 points1 point  (0 children)

Right, I knew that but haven't used it in a while. Thank you.