Re: pg, mysql comparison with "group by" clause - Mailing list pgsql-sql

From Tom Lane
Subject Re: pg, mysql comparison with "group by" clause
Date
Msg-id 24789.1129229377@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg, mysql comparison with "group by" clause  (Scott Marlowe <smarlowe@g2switchworks.com>)
List pgsql-sql
>>>> In standard SQL you have to
>>>> write GROUP BY ... and list every single column you need from the master
>>>> table.

This thread seems to have gone off on a tangent that depends on the
assumption that the above is a correct statement.  It's not.  It *was*
true, in SQL92, but SQL99 lets you omit unnecessary GROUP BY columns.

The gripe against mysql, I think, is that they don't enforce the
conditions that guarantee the query will give a unique result.

The gripe against postgres is that we haven't implemented the SQL99
semantics yet.
        regards, tom lane


pgsql-sql by date:

Previous
From: "Anthony Molinaro"
Date:
Subject: Re: pg, mysql comparison with "group by" clause
Next
From: "Anthony Molinaro"
Date:
Subject: Re: pg, mysql comparison with "group by" clause