That is correct, however, you should group by the date, month and year as a single unit.
GROUP BY '09, '25', '1967' is different than GROUP BY '09-25-1967' -----Original Message----- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 11:54 AM To: CF-Community Subject: Re: dumb sql question Hmm, so I thought that when you did GROUP BY A, B, C that it _first_ grouped by A, then B, etc. So if A is the day of the month, it would group all items with the same Day of Month, then group by B. Or am i wrong? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:148882 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54