What is wrong with my oracle select query below?

65 Views Asked by At

enter image description here

Why my first select query shows error at 'AS' when the second one is ok? - oracle sql - error message: SQL command not properly ended

1

There are 1 best solutions below

4
Zaynul Abadin Tuhin On BEST ANSWER

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