Conclussion:
(Because the key attribute can identify an entity uniquely !!!)
Example: the works_for relationship in the above figure are these tuples:
(123-45-6789, 4) (= john works in payroll) (111-11-1111, 1) (= kate works in administration) (222-22-2222, 1) (= peter works in administration)
Important design rule:
(Because the data model will get too complicated and inefficient)
This technique can always be used, but it is a technique that is only used when method 2 fails to work !!!
You must try method 2 first !!!
The first method is always possible
The second method is preferred:
but.... as we will see soon: method 2 does not work all the time