|
||
|
One-to-one relation:
Example 2: One person may belong to many groups (may be not in semester 6 but anyhow)
Strong(or regular) entities may be used by other databases (for example 'person') but weak entities containing foreign keys are dependent of the existence of another entity. The strong relation 'projtype' may have 'projid's which not necessarily are run by any group. This is OK if the entity is strong (which it is). In the figure this is marked by a ring in the fork. As a contrast all persons ('personid') must belong to at lest one group ('groupid'). As before not two primary keys may have the same value or be empty in case it consists of many attributes. |
||