Subject | Re: [firebird-support] Re: How to eliminate long GROUP BY? |
---|---|
Author | Kjell Rilbe |
Post date | 2009-04-29T12:25:41Z |
martin.agren wrote:
the standard than to have a non-standard thing in FB, and 2) the
original poster wasn't primarily complaining about too much typing but
risk of hitting the max sort key size, which your suggestions doesn't help.
Kjell
--
------------------------------
Kjell Rilbe
DataDIA AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64
[Non-text portions of this message have been removed]
> I have often asked myself why the group by syntax is so ineffective.Neat idea perhaps, but 1) it would be better to get this keyword into
>
> Couldnt a short hand (non standard) addition be
>
> Select grouped Description, count(Id) Count
>
> All that is required is a new keyword, that internally picks all non
> aggregate columns and adds them to a group by statement.
>
> The obvious benefit would of course appear when we have a large number
> of those non aggregate columns.
the standard than to have a non-standard thing in FB, and 2) the
original poster wasn't primarily complaining about too much typing but
risk of hitting the max sort key size, which your suggestions doesn't help.
Kjell
--
------------------------------
Kjell Rilbe
DataDIA AB
E-post: kjell.rilbe@...
Telefon: 08-761 06 55
Mobil: 0733-44 24 64
[Non-text portions of this message have been removed]