04 Handout 1
04 Handout 1
ER Model Notations
• The different types of relationships can be illustrated using the
following notations: STU_NUM STUDENT STU_SECT
o Chen notation: Relationships are represented by a
diamond connected to the related entities through a • In the Crow’s Foot notation, the attributes are written in the attribute
relationship line. The relationship name is written inside the box below the entity rectangle. Required attributes are in boldface.
diamond. PK and FK are used to mark the primary and foreign keys.
1 M STUDENT
PAINTER paints PAINTING PK STU_NUM
STU_LNAME
A painter can paint many paintings. STU_FNAME
STU_MI
1 1 FK1 STU_SECT
MANAGER manages DEPARTMENT