Query Fails With ORA-00918 After Upgrade to 11g
(Doc ID 835701.1)
Last updated on FEBRUARY 03, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.5 to 188.8.131.52 [Release 10.2 to 11.2]
Information in this document applies to any platform.
Query that worked fine in 10.2 is now failing with ORA-918 in 11g
(SELECT PROJECT_ID AS MAX_ID,
MAX(PROJ_VERSION_NO) AS MAX_VERSION
GROUP BY PROJECT_ID
ON PROJECT_ID = MAX_ID
AND PROJ_VERSION_NO = MAX_VERSION
WHERE PROJ_VERSION_NO > 0;
ORA-00918: column ambiguously defined
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document