Chapter 6 Data Communications © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.
-
Upload
preston-andrews -
Category
Documents
-
view
242 -
download
6
Transcript of Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.
![Page 1: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/1.jpg)
Chapter 3The Entity-Relationship Model
David M. Kroenke
Database Processing
© 2000 Prentice Hall
![Page 2: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/2.jpg)
Chapter 3
© 2000 Prentice Hall
Data Modeling
Page 47
• Process of creating a logical representation of the structure of the database
• The most important task in database development
![Page 3: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/3.jpg)
Chapter 3
© 2000 Prentice Hall
Entity-Relationship Model
• E-R Model• Peter Chen, 1976
Page 49
![Page 4: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/4.jpg)
Entities“something that users track”
Page 49Figure 3-1 © 2000 Prentice Hall
![Page 5: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/5.jpg)
Chapter 3
© 2000 Prentice Hall
Attributes (properties)
“describe the entity’s characteristics”
Entity: EmployeeAttributes:EmployeeName, Extension,
DateOfHire, JobSkillCode
Page 50
![Page 6: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/6.jpg)
Chapter 3
© 2000 Prentice Hall
Identifier
“attributes that name entity instances”
Entity: EmployeeIdentifier:SocialSecurityNumber
Page 50
![Page 7: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/7.jpg)
Relationships“associations between entities”
Page 51Figure 3-3 © 2000 Prentice Hall
![Page 8: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/8.jpg)
Cardinality
“maximum or minimum number of entities that can occur on one side of a relationship”
Page 52Figure 3-4 © 2000 Prentice Hall
![Page 9: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/9.jpg)
Recursive relationships
“relationships among entities of a single class”
Page 53Figure 3-5 © 2000 Prentice Hall
![Page 10: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/10.jpg)
E-R Diagram
Page 54Figure 3-6a © 2000 Prentice Hall
![Page 11: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/11.jpg)
E-R Diagram
Page 54Figure 3-6b © 2000 Prentice Hall
![Page 12: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/12.jpg)
Chapter 3
© 2000 Prentice Hall
Weak Entities
“an entity whose presence in the database depends (logically) on another entity”
Page 54
![Page 13: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/13.jpg)
Subtype Entities“an entity that contains option sets
of attributes”
Page 56Figure 3-10b © 2000 Prentice Hall
![Page 14: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/14.jpg)
E-R Diagram with all elements
Page 59Figure 3-11 © 2000 Prentice Hall
![Page 15: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/15.jpg)
Chapter 3
© 2000 Prentice Hall
Drawing E-R diagrams
• IEW• IEF• DEFT• ER-WIN• Visio
Page 60
![Page 16: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/16.jpg)
Jefferson Dance Club
Page 62Figure 3-14 © 2000 Prentice Hall
![Page 17: Chapter 3 The Entity-Relationship Model David M. Kroenke Database Processing © 2000 Prentice Hall.](https://reader036.fdocuments.in/reader036/viewer/2022081503/56649f265503460f94c3cce2/html5/thumbnails/17.jpg)
San Juan Charters
Page 66Figure 3-16 © 2000 Prentice Hall