On Sep 2, 2007, at 4:42 PM, Mark Stanton wrote:

> I'm guessing that the new enginebehaviour whereby a group by clause
> must include all the fields that are selected is to follow a new SQL
> standard, is that right?
>
> Regardless of the source, why is this considered an improvement?  It
> seems to me to reduce my options for querying.  I can imagine that
> it's to "protect coders from themselves", but that's the only excuse
> for it that I can come up with, and I don't want to be protected from
> myself.

        OK, let's say you have a table of employees, with their name and  
salary as fields. You write the following:

SELECT cName, SUM(salary) FROM Employees

        What value should be in the 'cName' field?

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** 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.

Reply via email to