Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Intermediate results with aliases - when does it work?
Hello all,
please consider the following query:
select 12*sal yearly, yearly+comm
from emp;
I would expect that the alias can be used in the next output field of SELECT. Oracle complains:
select 12*sal yearly, yearly+comm
*
However, I am sure I have seen such alias use for intermediate results in the past. When can this feature be used?
Kostis Vezerides Received on Thu Nov 29 2007 - 08:53:16 CST
![]() |
![]() |