E
and F
take part in an N-N
relationship R
:
R
is mapped to a table T
.
T
contains columns for all attributes in the primary identifiers of E
and F
.
T
.
T
also contains columns for all attributes attached to the relationship.
work
, where an employee must work on at least one project, and a project could have no one working on it (idle).
The table work includes two columns from the primary keys of the two entities employee and project , and one column from its attribute percent .
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
⇓ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|