S
SF
Hi,
My office has a staff database consists of 3 tables. tblEmployee,
tblEducationAllowance, tblMedicalAllowance. tblEmployee has EmpID, Empname,
EmpPosition, DOB, DateofService...
Now my office needs to incorporate employee dependents into the database.
Each dependent will have medical allowance as well.
I cannot decice whether to use employee table for storing dependent info by
adding another filed to refer to the employyID (just like adding a filed for
supervisorID???) or to create new table for it. If I decide to create new
table for dependent, I will have difficulty in adding dependent info
including employee itseft into tblMedicalAllowance (EmployeeID FK) as
emploee and dependent located in 2 different tables.
SF
My office has a staff database consists of 3 tables. tblEmployee,
tblEducationAllowance, tblMedicalAllowance. tblEmployee has EmpID, Empname,
EmpPosition, DOB, DateofService...
Now my office needs to incorporate employee dependents into the database.
Each dependent will have medical allowance as well.
I cannot decice whether to use employee table for storing dependent info by
adding another filed to refer to the employyID (just like adding a filed for
supervisorID???) or to create new table for it. If I decide to create new
table for dependent, I will have difficulty in adding dependent info
including employee itseft into tblMedicalAllowance (EmployeeID FK) as
emploee and dependent located in 2 different tables.
SF