Professional Documents
Culture Documents
4 2
4 2
The department table has a one-to-many relationship with the position table, as each
department can have multiple positions but each position can only belong to one
department.
The position table has a one-to-many relationship with the employee table, as each
position can have multiple employees but each employee can only have one position.
The payroll table has a one-to-many relationship with the payroll_items table, as
each payroll run can have multiple payroll items but each payroll item can only
belong to one payroll run.
The payroll_items table has a many-to-one relationship with the employee table, as
each payroll item can only belong to one employee but each employee can have
multiple payroll items.