ORA-01791: not a SELECTed expression after upgrade to

(Doc ID 1600974.1)

Last updated on APRIL 24, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


a select DISTINCT query and the order by column does not reference a select list item after upgrade to



 upgrade to


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms