
November 2nd, 2009, 10:50 AM
|
|
Contributing User
|
|
Join Date: Aug 2003
Posts: 256
Time spent in forums: 2 Days 12 h 43 m 8 sec
Reputation Power: 7
|
|
|
Employee table reverse hierarchy
Hi,
I was wondering if anyone could help me or point me in the right direction. I need away of finding the managers through a employee id ie
and so on
my Managers manager
My manager
Me
I can see some good examples using Orcale but not SQL, can any one help?
The table structure is like so
employeeid, employee_name, employee_manager_id
All the information is kept in the same table tbl_emp
Thanks in advance
|