|
Hi , I have a table like emp(empid,managerid,empname).i want to retrieve the employee details with their manager name.please help me writing the query . thanks jaggs
(comments are locked)
|
|
I assume you also have a managers table that would contain something like (managerid, mangername) If so you can join your emp table to the manager table on managerid. Your query would resemble something like there is no manager table ,managerid is the column which is nothing but the empid of the respective manager.so here I think I need to do self join but how i dont know.please help me
Sep 01 '11 at 09:49 PM
happy
This should do it.
Sep 01 '11 at 09:58 PM
Tim
(comments are locked)
|

