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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

order by not work in union

user021May 4 2017 — edited May 4 2017

why order by is not working while running union command.

   SELECT e.EMPNO,e.ENAME FROM EMP e

             UNION

             SELECT e.EMPNO,e.ENAME FROM EMP  e

             ORDER BY e.DEPTNO

This post has been answered by Mustafa KALAYCI on May 4 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 1 2017
Added on May 4 2017
5 comments
697 views