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

Home -> Community -> Usenet -> c.d.o.misc -> Using computed col in same select

Using computed col in same select

From: Christian Birzer <birzerc_at_meiller.de>
Date: Mon, 06 Sep 1999 08:37:56 GMT
Message-ID: <37d37cbb.8629121@news.noris.net>


Hi!

I'm trying to find a way to use a computed value in the same select agein, without subselects, like this:

select a * 2 "b", "b" * 2 "c" from table;

instead of

select "b"*2 "c" from
 (select a*2 "b" from table)

Anybody knows how to do this???

Thanks in advance!

Regards

Christian Birzer Received on Mon Sep 06 1999 - 03:37:56 CDT

Original text of this message

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