For posterity: I had this problem when I selected the columns TABLE1.DES and TABLE2.DES in a query without overlaying the results. When I ran it alone, my SQL editor turned them into DES and DES_1, without complaint.
However, when I included the same query in a subquery
SELECT a.col1, a.col2, a.col3, b.* from TABLE3 a INNER JOIN (
he threw the same ORA-00918 error message that you described. Change SELECT in my subquery to
SELECT TABLE1.DES AS T1_DES, TABLE2.DES AS T2_DES ...
fixed problem.
source share