RE: Problem with GROUP BY

Author: mbsoftwaresolutions@mbsoftwaresolutions.com

Posted: 2016-02-20 at 14:28:29

On 2016-02-20 15:24, Tracy Pearson wrote:

> When you have an aggregate (the sum), you should group by all the

> noon-aggregate fields.

>

> You could use the numbers for each field.

> Group by 3,1,2,4,5,6

I've often thought: the order of your GROUPING doesn't matter....does

it? Either way, it's the same distinct combination.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/496748d2917a334fcfd1b572c11d5f17@mbsoftwaresolutions.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2016 mbsoftwaresolutions@mbsoftwaresolutions.com