The order is very important, it will group based on the order of those items.
> -----Original Message----- > From: Cameron Childress [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 02, 2005 3:27 PM > To: CF-Community > Subject: Re: dumb sql question > > 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? > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:148954 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