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!

Display Data in Parent and Child Data

798157Nov 15 2012 — edited Nov 15 2012
Hi Everyone,

I have one requirement. Which is simple, but i need to get formatted here. EMP,DEPT tables.

Dept Table

Department ID Department Name
10 CSE
20 ISE


Emp Table
Empid Ename Sal Dept
1 John 6500 10
2 Smith 5000 20
3 Scott 10000 10
4 King 15000 20


Out should Look like Below

Department ID Department Name
10 CSE
Empid Ename Sal Dept
1 John 6500 10
3 Scott 10000 10

Department ID Department Name
20 ISE

Empid Ename Sal Dept
2 Smith 5000 20
4 King 15000 20


Please help me on this ..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 13 2012
Added on Nov 15 2012
4 comments
149 views