|
|
This is an important step in designing the database because it will help use dictate WHERE (which file) to store the attribute that is used to represent the relationship.
Employee:Department = 1:1
What exactly is represented by the squares inside the Manager set ???
|
in the description below that are highlighted with magenta:
|
(information is: begin date of the relationship)
The dates attached to the relationship instances (squares) are the "starting date" of manager.
|
Department:Project = 1:N
Comment:
|
Employee:Department = N:1
Employee:Project = M:N
NOTE:
(information is: duration of the relationship)
The Supervisor relationship is an relationship between two entities from the SAME entity set |
Supervisor Employee:Supervisee employee = 1:N
NOTE: this is an example of a recursive relationship.
Employee:Dependent = 1:N