Download presentation
Presentation is loading. Please wait.
Published byJesse Blair Modified over 6 years ago
1
Database Processing: David M. Kroenke’s Chapter Five:
Fundamentals, Design, and Implementation Chapter Five: Data Modeling with the Entity-Relationship Model Part Two DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
2
Strong Entity Patterns: 1:1 Strong Entity Relationships
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
3
Strong Entity Patterns: 1:1 Strong Entity Relationships
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
4
Identifying Strong Entities
Has it’s own identifier Can exist, logically, without another entity Forget the database implementation DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
5
ERwin Symbol Summary DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
6
Strong Entity Patterns: 1:N Strong Entity Relationships
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
7
Strong Entity Patterns: 1:N Strong Entity Relationships
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
8
Strong Entity Patterns: N:M Strong Entity Relationships
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
9
Strong Entity Patterns: N:M Strong Entity Relationships
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
10
Strong Entity Patterns: N:M Strong Entity Relationships
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
11
ID-Dependent Relationships: Three Principle Patterns
Association (confused with M:N) Multivalued Attribute Version/instance DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
12
ID-Dependent Relationships: The Association Pattern
Note the Price column, which has been added. DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
13
ID-Dependent Relationships: The Association Pattern
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
14
ID-Dependent Relationships: The Association Pattern
Why confused with M:N? ERwin DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
15
ID-Dependent Relationships: The Multivaled Attribute Pattern
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
16
ID-Dependent Relationships: The Multivaled Attribute Pattern
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
17
ID-Dependent Relationships: The Multivaled Attribute Pattern
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
18
ID-Dependent Relationships: The Multivaled Attribute Pattern
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
19
ID-Dependent Relationships: The Archtype/Instance Pattern
Abstract or logical parent Child , the physical manifestation of parent Example CLASS (logical parent) SECTION (instance of parent) DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
20
ID-Dependent Relationships: The Archtype/Instance Pattern
Note that these are true ID-dependent relationships - the identifier of the parent appears as part of the composite identifier of the ID-dependent child. DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
21
No Longer ID-Dependent Children: Rather Weak Children
Note the use of weak, but not ID-dependent children. DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
22
Non-ID-Dependent Weak Entities: How Important?
Logical Necessity? Business Rule Only? Erwin? This class? Back to Strong Entity Patterns DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
23
Learning About Databases: The Problem
1:M Relationships Strong Entities Weak Entities ID-Dependent Entities DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
24
Mixed Patterns: The Line-Item Pattern
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
25
Mixed Patterns: The Line-Item Pattern
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
26
David M. Kroenke’s Database Processing Fundamentals, Design, and Implementation (10th Edition)
End of Presentation: Chapter Five Part Two DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, Modified by Dr. Lyn Mathis
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.