Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Referencing function result inside GROUP BY?

Referencing function result inside GROUP BY?

From: Vjeran Marcinko <netko_at_nesto.com>
Date: Mon, 19 Sep 2005 10:39:17 +0200
Message-ID: <dgltfn$t2o$1@sunce.iskon.hr>


Hi.

Is there some way to avoid redudancy inside SQL queries like :

SELECT someFunction(t.column) FROM Table t GROUP BY someFunction(t.column)

with something like:

SELECT someFunction(t.column) AS result FROM Table t GROUP BY result

Later gives me "invalid column name: result" error :-(

-Vjeran Received on Mon Sep 19 2005 - 03:39:17 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US