When you see this
SQL> with xyz
2 (
3 select 1 my_alias from dual
4 )
5 select * from xyz;
(
*
ERROR at line 2:
ORA-32033: unsupported column aliasing
your first thought might be that there is something wrong with the column alias “my_alias”.
In fact, it got nothing to do with that….its missing the “AS”.
SQL> with xyz as
2 (
3 select 1 my_alias from dual
4 )
5 select * from xyz;
MY_ALIAS
----------
1




Got some thoughts? Leave a comment