Skip to Main Content

SQL Developer

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!

How to get the manager details below the top most manager

2662398Aug 8 2016 — edited Aug 8 2016

Hi Team,

I have a below requirement where i need to get the manager name who reports to top manager.

For ex:

-------

Employee-->Manager-->Next Level Manager-->Next Level Manager-->Next Level Manager (Top Manager)

1. John           David          Michael                              Johnson                  Paul

2. Andy           Rock          Murray                                Debbie                    Paul

In Select statement I need to display data like below

Employee Name   Employee Number   Job   Manager

John                        1234                     xyz     Johnson

Andy                        7890                    abc      Debbie

Please suggest.

Thanks,

Poli

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2016
Added on Aug 8 2016
2 comments
429 views