Results 1 to 2 of 2

Thread: Get immediate reporting managers id

  1. #1
    Geek_Guest
    Guest

    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


  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Get immediate reporting managers id

    Kindly post with your table structure with all the relations .

    also post the query that you have tried to solve this .


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact