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.

Contril break query

Chintan GandhiSep 27 2011 — edited Sep 27 2011
Hi,

My table EMP has data as below:

emp_code ename dept_no
--- --- ---
1 Smith 10
2 Paul 10
3 Jane 20
4 John 30

...more

How can I write a single query (for single column) to display data as below:

o/p Col
---
10
Smith
Paul
20
Jane
30
John

...more
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 25 2011
Added on Sep 27 2011
5 comments
82 views