The scenario
This ER diagram models an employee database with salary history, where each employee has a department, a position, and a collection of salary records over time.
What is in this drawing
Read the decisions behind it.
01
SalaryHistory is a separate entity to capture changes over time
02
Employee has mandatory references to Department and Position
03
SalaryHistory references Employee with a many-to-one relationship
When developing a human resources system that needs to track employee salaries and their changes.
More like this