Professional Documents
Culture Documents
Data
Modeling
Copyright © 2014 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Learning Objectives
3-2
LO# 1
Structure Models
3-3
LO# 2
3-6
LO# 2
3-7
LO# 2
Indicator Meaning
1..1 0..* 0..1 Zero or one
Person owns Auto 1..1 One only
0..* 0 or more
1..* 1 or more
Multiplicities (Cardinalities)
3-8
LO# 2
Attributes
3-9
LO# 2
Primary Keys
3-10
LO# 2
Foreign Keys
• An attribute or combination of attributes that allows tables to
be linked together
• Implements the link between classes (and resulting tables)
shown by the associations
• In the following model, the primary key of the PERSON class
would become a foreign key in the AUTO class to implement
the association
3-11
LO# 2
3-12
LO# 2
3-13
LO# 4
3-15
LO# 4
3-16
LO# 3
3-18
LO# 3
3-19
LO# 4
Business Rules
3-20
LO# 5
3-21