My Oracle Support Banner

ORA-01791: not a SELECTed expression after upgrade to (Doc ID 1600974.1)

Last updated on AUGUST 04, 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


To view full details, 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 a vibrant support community of peers and Oracle experts.