Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Referencing function result inside GROUP BY?
Matthias is the man!
Thanx,
Vjeran
"Matthias Kleinicke" <Matthias.Kleinicke_at_gmx.de> wrote in message
news:dgn7g6$vcq$1_at_online.de...
> Hi,
>
> Vjeran Marcinko schrieb:
>> Hi.
>>
>> Is there some way to avoid redudancy inside SQL queries like :
>>
>> SELECT someFunction(t.column) FROM Table t GROUP BY
>> someFunction(t.column)
>>
> SELECT col FROM (SELECT someFunction(t.column) col FROM Table t) GROUP BY
> col
>
> hth
>
> Matthias
Received on Tue Sep 20 2005 - 00:18:20 CDT
![]() |
![]() |