I'm pretty sure the order is irrelevant, but it should be easy enough to verify with a couple of CFDUMPs of the result.
I've done my fair share of reporting and stats lately, and I'm pretty sure my initial code should work. -Cameron On Wed, 2 Mar 2005 11:54:03 -0600, Raymond Camden <[EMAIL PROTECTED]> wrote: > 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? > > > On Wed, 2 Mar 2005 08:48:11 -0800, Cameron Childress <[EMAIL PROTECTED]> > wrote: > > No, I don't think so. They will both have the same day() month(), year(). > > > > -Cameron > > > > > > On Wed, 2 Mar 2005 09:28:14 -0600, Raymond Camden <[EMAIL PROTECTED]> wrote: > > > Won't your group be broken though if two sales occur on the same day > > > of the month? > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:148946 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=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54