Sort on Output of Query (With Distinct) Results into ORA-904 on "DISTINCT"
(Doc ID 1627585.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle SQL Developer - Version 4.0 and later
Information in this document applies to any platform.
The query "select distinct deptno, d.* from dept d" produces correct output in SQL Worksheet.
However, when sorting the "query output" by clicking on a column header, the following error occurs:
ORA-00904: "DISTINCT": invalid identifier
00904. 00000 - "%s: invalid identifier"
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!