Why my first select query shows error at 'AS' when the second one is ok? - oracle sql - error message: SQL command not properly ended
Oracle does not allow as
in table level alias. It's allowed for column and subquery, that's why you don't get the error for the second example.
Fix it by removing as
like below:
select * from cisa xxxx