Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-01791

637049Aug 19 2009 — edited Aug 19 2009
Hi All,

I have this sql statement:

Select Distinct EXTRACT(YEAR from A_DATE) from Attendances order by A_Date ASC;

the error:
ORA-01791: not a SELECTed expression
This post has been answered by Boneist on Aug 19 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2009
Added on Aug 19 2009
4 comments
718 views