Possible Duplicate:
SQL: What’s the difference between HAVING and WHERE?
i am learning sql syntax and i can't understand this.
the second half of the question is a much more technical one. what is actually happening behind the scenes of the database between WHERE and HAVING? which one uses more resources? are they same algorithm just applying to different data sets?
thanks!