Prepare for your Next Interview
This is a discussion on Get immediate reporting managers id within the SQL forums, part of the Databases category; I have a table with employee ids and their manager ids. I want to get all their immediate reporting managers ids for that employee. I have used the connect by ...
|
|||
|
Get immediate reporting managers id
I have a table with employee ids and their manager ids. I want to get all their immediate reporting managers ids for that employee. I have used the connect by function. But its showing all the mangers like if the emp A reports to Mgr A and Mgr A reports to Mgr B. say if Mgr A also reports to Mgr C, then my current query retrieves all the Mgrs (A,B and C) but i need only Mgr A and B. Kindly help me here.
Question asked by visitor Suresh |
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| best reporting tool | raj44jce307anna | Data Warehousing | 5 | 03-05-2008 04:20 PM |
| Disable Error Reporting in XP | Lokesh M | Geeks Lounge | 2 | 05-11-2007 09:46 AM |
| How time you took to prepare review, case design, execution, reporting... | JobHelper | Testing Issues | 3 | 04-19-2007 03:42 AM |
| Real time reporting | Geek_Guest | Data Warehousing | 0 | 03-30-2007 02:19 AM |
| Types of JDBC Deriver Managers | timmy | Java | 1 | 07-17-2006 05:12 PM |