Lecture 10
Lecture 10
Management
System
Mapping Relationships
Relationships are mapped
according to their degree and
cardinalities
Starting from binary relationships
Binary Relationships
Cardinality: one to many
The PK of the relation against
many side ET contains the PK of
the relation for ET on one side as
FK
One to Many Example
EMP PROJ
EMP DEPT
empAddr deptName
BOOK STD
bkAuth sFname
BOOK STD
rtDate sFname
bkAuth
bkId stId
STD HOBBY
hName
stAddr
EMP
eQual
manages
EMP
eQual
manages
ITEM
uCost
has Qty
“H” “C”
“S”