This query is searching employee name and employee`s manager.

but 'as' keyword causes error ora-00933.
so, i changed "from employee as e, employee as s" to "from employee e, employee s".
why 'as' keyword causes the error ora-00933?
This query is searching employee name and employee`s manager.

but 'as' keyword causes error ora-00933.
so, i changed "from employee as e, employee as s" to "from employee e, employee s".
why 'as' keyword causes the error ora-00933?
The as keyword can be used in the select clause but not the from clause. This is the general idea:
select field1 as f1
from table1 t1
where t1.field1 = something
To be precise about an answer to the question, in ORACLE, to use the keyword AS before the alias, then remember : column names, yes, table names, no.
In other words, in select, yes, in from clause, no.