Ecreations
Programmer
Hey Guys,
I am trying to get an access table to give me a hierarchy of the employees.
Currently the table is like this
Emp_Number UniqueKey based on the employee corpID
First_Name
Last_Name
SupID ---> self Join to Emp_Number in the same table
I can do a self join to get the hierarchy but that makes no sense since I would have to update all the SupID in case a supervisor leaves the company.
anyone can recommend a better table design?
I am trying to get an access table to give me a hierarchy of the employees.
Currently the table is like this
Emp_Number UniqueKey based on the employee corpID
First_Name
Last_Name
SupID ---> self Join to Emp_Number in the same table
I can do a self join to get the hierarchy but that makes no sense since I would have to update all the SupID in case a supervisor leaves the company.
anyone can recommend a better table design?