I wish to execute the following SQL statement:
select
round(col1 * 2) result_col1,
(result_col1 - 2) col2
from table_test
The result is: >Invalid column name
I don't want to use an another view or any object else...
I just want to reuse a column alias...
Thanks a lot for your help.... It's very important for me.
Thanks.
select
round(col1 * 2) result_col1,
(result_col1 - 2) col2
from table_test
The result is: >Invalid column name
I don't want to use an another view or any object else...
I just want to reuse a column alias...
Thanks a lot for your help.... It's very important for me.
Thanks.