Internally, the grouping may occur in a different order, and the
dataset may be output in a different order.  However, in this case the
resulting dataset will be the same.  Give it a test if you want.  I
just did (to make sure I wasn't going crazy).

-Cameron


On Wed, 2 Mar 2005 15:42:06 -0500, Nick McClure <[EMAIL PROTECTED]> wrote:
> 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?
> > > >
> > > >
> > >
> > >
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
This list and all House of Fusion resources hosted by CFHosting.com. The place 
for dependable ColdFusion Hosting.
http://www.houseoffusion.com/banners/view.cfm?bannerid=11

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:148975
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

Reply via email to