----- Original Message ----- 
From: "Jason Fisher" <[EMAIL PROTECTED]>
> Cool, yeah I never remember until I do it when an aggregate query is going 
> to want HAVING vs WHERE.  Glad it's working for you!

This bites me too when I'm not paying attention.  Just remember that the 
WHERE applies to the records BEFORE the are grouped up and the HAVING 
applies to the grouped result set after the aggregates have been applied.

~Brad 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316384
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to