Hi,
i am new to Oracle. i have the following problem. i have write the Query that retrieve all the employee based on Single employeeID, but i couldn't able to retrieve SupervisorID
There are two tables say A and B. A table has the fields employeeID, SupervisorID etc and B table has the field employeeID (Don't have SupervisorID).
Based on this when i supplied Single employeeID,i want to retrieve its peers and their manager.
i.e when i suppleid 101 as employeeID then i want 101,102,103,104,105(peer) and 111(Manager)
i am new to Oracle. i have the following problem. i have write the Query that retrieve all the employee based on Single employeeID, but i couldn't able to retrieve SupervisorID
There are two tables say A and B. A table has the fields employeeID, SupervisorID etc and B table has the field employeeID (Don't have SupervisorID).
Based on this when i supplied Single employeeID,i want to retrieve its peers and their manager.
i.e when i suppleid 101 as employeeID then i want 101,102,103,104,105(peer) and 111(Manager)