SlideShare a Scribd company logo
Chapter 6: Entity-Relationship Model Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See  www.db-book.com  for conditions on re-use
Chapter 6: Entity-Relationship Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.2 Database System Concepts - 5 th  Edition, July 11, 2005
Modeling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.3 Database System Concepts - 5 th  Edition, July 11, 2005
Entity Sets  customer  and  loan 6.4 Database System Concepts - 5 th  Edition, July 11, 2005 customer_id customer_ customer_ customer_ loan_ amount name street city number
Relationship Sets ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.5 Database System Concepts - 5 th  Edition, July 11, 2005
Relationship Set  borrower 6.6 Database System Concepts - 5 th  Edition, July 11, 2005
Relationship Sets (Cont.) ,[object Object],[object Object],6.7 Database System Concepts - 5 th  Edition, July 11, 2005
Degree of a Relationship Set ,[object Object],[object Object],[object Object],[object Object],6.8 Database System Concepts - 5 th  Edition, July 11, 2005 ,[object Object]
Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.9 Database System Concepts - 5 th  Edition, July 11, 2005 Example:  customer =  ( customer_id, customer_name, customer_street, customer_city  ) loan =  ( loan_number, amount  )
Composite Attributes 6.10 Database System Concepts - 5 th  Edition, July 11, 2005
Mapping Cardinality Constraints ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.11 Database System Concepts - 5 th  Edition, July 11, 2005
Mapping Cardinalities 6.12 Database System Concepts - 5 th  Edition, July 11, 2005 One to one One to many Note: Some elements in  A  and  B  may not be mapped to any  elements in the other set
Mapping Cardinalities  6.13 Database System Concepts - 5 th  Edition, July 11, 2005 Many to one Many to many Note: Some elements in A and B may not be mapped to any  elements in the other set
Keys ,[object Object],[object Object],[object Object],[object Object],[object Object],6.14 Database System Concepts - 5 th  Edition, July 11, 2005
Keys for Relationship Sets ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.15 Database System Concepts - 5 th  Edition, July 11, 2005
E-R Diagrams 6.16 Database System Concepts - 5 th  Edition, July 11, 2005 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
E-R Diagram With Composite, Multivalued, and Derived Attributes 6.17 Database System Concepts - 5 th  Edition, July 11, 2005
Relationship Sets with Attributes 6.18 Database System Concepts - 5 th  Edition, July 11, 2005
Roles ,[object Object],[object Object],[object Object],[object Object],6.19 Database System Concepts - 5 th  Edition, July 11, 2005
Cardinality Constraints ,[object Object],[object Object],[object Object],[object Object],6.20 Database System Concepts - 5 th  Edition, July 11, 2005
One-To-Many Relationship ,[object Object],6.21 Database System Concepts - 5 th  Edition, July 11, 2005
Many-To-One Relationships ,[object Object],6.22 Database System Concepts - 5 th  Edition, July 11, 2005
Many-To-Many Relationship ,[object Object],[object Object],6.23 Database System Concepts - 5 th  Edition, July 11, 2005
Participation of an Entity Set in a Relationship Set 6.24 Database System Concepts - 5 th  Edition, July 11, 2005 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Alternative Notation for Cardinality Limits 6.25 Database System Concepts - 5 th  Edition, July 11, 2005 ,[object Object]
E-R  Diagram with a Ternary Relationship 6.26 Database System Concepts - 5 th  Edition, July 11, 2005
Cardinality Constraints on Ternary Relationship ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.27 Database System Concepts - 5 th  Edition, July 11, 2005
Design Issues ,[object Object],[object Object],[object Object],[object Object],6.28 Database System Concepts - 5 th  Edition, July 11, 2005
Binary Vs. Non-Binary Relationships ,[object Object],[object Object],[object Object],[object Object],[object Object],6.29 Database System Concepts - 5 th  Edition, July 11, 2005
Converting Non-Binary Relationships to Binary Form ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.30 Database System Concepts - 5 th  Edition, July 11, 2005
Converting Non-Binary Relationships (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],6.31 Database System Concepts - 5 th  Edition, July 11, 2005
Mapping Cardinalities affect ER Design 6.32 Database System Concepts - 5 th  Edition, July 11, 2005 ,[object Object],[object Object]
How about doing an ER design interactively on the board? Suggest an application to be modeled. Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See  www.db-book.com  for conditions on re-use
Weak Entity Sets ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.34 Database System Concepts - 5 th  Edition, July 11, 2005
Weak Entity Sets (Cont.) ,[object Object],[object Object],[object Object],[object Object],6.35 Database System Concepts - 5 th  Edition, July 11, 2005
Weak Entity Sets (Cont.) ,[object Object],[object Object],6.36 Database System Concepts - 5 th  Edition, July 11, 2005
More Weak Entity Set Examples ,[object Object],[object Object],[object Object],[object Object],6.37 Database System Concepts - 5 th  Edition, July 11, 2005
Extended E-R Features: Specialization ,[object Object],[object Object],[object Object],[object Object],6.38 Database System Concepts - 5 th  Edition, July 11, 2005
Specialization Example 6.39 Database System Concepts - 5 th  Edition, July 11, 2005
Extended ER Features: Generalization ,[object Object],[object Object],[object Object],6.40 Database System Concepts - 5 th  Edition, July 11, 2005
Specialization and Generalization (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.41 Database System Concepts - 5 th  Edition, July 11, 2005
Design Constraints on a Specialization/Generalization ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.42 Database System Concepts - 5 th  Edition, July 11, 2005
Design   Constraints   on a Specialization/Generalization (Cont.) ,[object Object],[object Object],[object Object],6.43 Database System Concepts - 5 th  Edition, July 11, 2005
Aggregation 6.44 Database System Concepts - 5 th  Edition, July 11, 2005 ,[object Object],[object Object]
Aggregation (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.45 Database System Concepts - 5 th  Edition, July 11, 2005
E-R Diagram With Aggregation 6.46 Database System Concepts - 5 th  Edition, July 11, 2005
E-R Design Decisions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.47 Database System Concepts - 5 th  Edition, July 11, 2005
E-R Diagram for a Banking Enterprise 6.48 Database System Concepts - 5 th  Edition, July 11, 2005
How about doing another ER design interactively on the board? Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See  www.db-book.com  for conditions on re-use
Summary of Symbols Used in E-R Notation 6.50 Database System Concepts - 5 th  Edition, July 11, 2005
Summary of Symbols (Cont.) 6.51 Database System Concepts - 5 th  Edition, July 11, 2005
Reduction to Relation Schemas ,[object Object],[object Object],[object Object],[object Object],6.52 Database System Concepts - 5 th  Edition, July 11, 2005
Representing Entity Sets as Schemas ,[object Object],[object Object],[object Object],[object Object],6.53 Database System Concepts - 5 th  Edition, July 11, 2005
Representing Relationship Sets as Schemas ,[object Object],[object Object],[object Object],6.54 Database System Concepts - 5 th  Edition, July 11, 2005
Redundancy of Schemas 6.55 Database System Concepts - 5 th  Edition, July 11, 2005 ,[object Object],[object Object]
Redundancy of Schemas (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],6.56 Database System Concepts - 5 th  Edition, July 11, 2005
Composite and Multivalued Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.57 Database System Concepts - 5 th  Edition, July 11, 2005
Representing Specialization via Schemas ,[object Object],[object Object],[object Object],[object Object],6.58 Database System Concepts - 5 th  Edition, July 11, 2005
Representing Specialization as Schemas (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],6.59 Database System Concepts - 5 th  Edition, July 11, 2005
Schemas Corresponding to Aggregation 6.60 Database System Concepts - 5 th  Edition, July 11, 2005 ,[object Object],[object Object],[object Object],[object Object]
Schemas Corresponding to Aggregation (Cont.) 6.61 Database System Concepts - 5 th  Edition, July 11, 2005 ,[object Object],[object Object],[object Object]
UML  ,[object Object],[object Object],[object Object],6.62 Database System Concepts - 5 th  Edition, July 11, 2005
Summary of UML Class Diagram Notation 6.63 Database System Concepts - 5 th  Edition, July 11, 2005
UML Class Diagrams (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],6.64 Database System Concepts - 5 th  Edition, July 11, 2005
UML Class Diagram Notation (Cont.) 6.65 Database System Concepts - 5 th  Edition, July 11, 2005 * Note reversal of position in cardinality constraint depiction * Generalization can use merged or separate arrows independent of disjoint/overlapping overlapping disjoint
UML Class Diagrams (Contd.) ,[object Object],[object Object],[object Object],[object Object],6.66 Database System Concepts - 5 th  Edition, July 11, 2005
End of Chapter 2 Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See  www.db-book.com  for conditions on re-use
E-R Diagram for Exercise 2.10 6.68 Database System Concepts - 5 th  Edition, July 11, 2005
E-R Diagram for Exercise 2.15 6.69 Database System Concepts - 5 th  Edition, July 11, 2005
E-R Diagram for Exercise 2.22 6.70 Database System Concepts - 5 th  Edition, July 11, 2005
E-R Diagram for Exercise 2.15 6.71 Database System Concepts - 5 th  Edition, July 11, 2005
Existence Dependencies ,[object Object],[object Object],[object Object],6.72 Database System Concepts - 5 th  Edition, July 11, 2005 loan-payment payment loan If a  loan  entity is deleted, then all its associated  payment  entities must be deleted also.
Figure 6.8 6.73 Database System Concepts - 5 th  Edition, July 11, 2005
Figure 6.15 6.74 Database System Concepts - 5 th  Edition, July 11, 2005
Figure 6.16 6.75 Database System Concepts - 5 th  Edition, July 11, 2005
Figure 6.26 6.76 Database System Concepts - 5 th  Edition, July 11, 2005
Figure 6.27 6.77 Database System Concepts - 5 th  Edition, July 11, 2005
Figure 6.28 6.78 Database System Concepts - 5 th  Edition, July 11, 2005
Figure 6.29 6.79 Database System Concepts - 5 th  Edition, July 11, 2005
Figure 6.30 6.80 Database System Concepts - 5 th  Edition, July 11, 2005
Figure 6.31 6.81 Database System Concepts - 5 th  Edition, July 11, 2005
Alternative E-R Notations Figure 6.24 6.82 Database System Concepts - 5 th  Edition, July 11, 2005

More Related Content

What's hot

Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design Issue
Amiya9439793168
 
Chapter3 the relational data model and the relation database constraints part2
Chapter3 the relational data model and the relation database constraints part2Chapter3 the relational data model and the relation database constraints part2
Chapter3 the relational data model and the relation database constraints part2
eidah20
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
Nazir Ahmed
 
ER Diagrams Simplified
ER Diagrams SimplifiedER Diagrams Simplified
ER Diagrams Simplified
Puneet Arora
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data Model
Smriti Jain
 
The Relational Data Model and Relational Database Constraints
The Relational Data Model and Relational Database ConstraintsThe Relational Data Model and Relational Database Constraints
The Relational Data Model and Relational Database Constraints
sontumax
 
DBMS CS2
DBMS CS2DBMS CS2
Chapter 8
Chapter 8Chapter 8
Chapter 8
Ahmed Magdy
 
Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database languageJafar Nesargi
 
Dbms relational data model and sql queries
Dbms relational data model and sql queries Dbms relational data model and sql queries
Dbms relational data model and sql queries
Tetala Vishnu Vardhan Reddy
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1
Eddyzulham Mahluzydde
 
Relational database intro for marketers
Relational database intro for marketersRelational database intro for marketers
Relational database intro for marketers
Steve Finlay
 
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
Raj vardhan
 
Database Systems - Relational Data Model (Chapter 2)
Database Systems - Relational Data Model (Chapter 2)Database Systems - Relational Data Model (Chapter 2)
Database Systems - Relational Data Model (Chapter 2)
Vidyasagar Mundroy
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
Amiya9439793168
 
Chapter 2 Relational Data Model-part 2
Chapter 2 Relational Data Model-part 2Chapter 2 Relational Data Model-part 2
Chapter 2 Relational Data Model-part 2
Eddyzulham Mahluzydde
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
Nishant Munjal
 
Ch 6 Logical D B Design
Ch 6  Logical D B  DesignCh 6  Logical D B  Design
Ch 6 Logical D B Designguest8fdbdd
 
Chapter 2 Relational Data Model-part 3
Chapter 2 Relational Data Model-part 3Chapter 2 Relational Data Model-part 3
Chapter 2 Relational Data Model-part 3
Eddyzulham Mahluzydde
 

What's hot (20)

Chapter3
Chapter3Chapter3
Chapter3
 
Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design Issue
 
Chapter3 the relational data model and the relation database constraints part2
Chapter3 the relational data model and the relation database constraints part2Chapter3 the relational data model and the relation database constraints part2
Chapter3 the relational data model and the relation database constraints part2
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
ER Diagrams Simplified
ER Diagrams SimplifiedER Diagrams Simplified
ER Diagrams Simplified
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data Model
 
The Relational Data Model and Relational Database Constraints
The Relational Data Model and Relational Database ConstraintsThe Relational Data Model and Relational Database Constraints
The Relational Data Model and Relational Database Constraints
 
DBMS CS2
DBMS CS2DBMS CS2
DBMS CS2
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database language
 
Dbms relational data model and sql queries
Dbms relational data model and sql queries Dbms relational data model and sql queries
Dbms relational data model and sql queries
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1
 
Relational database intro for marketers
Relational database intro for marketersRelational database intro for marketers
Relational database intro for marketers
 
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
 
Database Systems - Relational Data Model (Chapter 2)
Database Systems - Relational Data Model (Chapter 2)Database Systems - Relational Data Model (Chapter 2)
Database Systems - Relational Data Model (Chapter 2)
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
 
Chapter 2 Relational Data Model-part 2
Chapter 2 Relational Data Model-part 2Chapter 2 Relational Data Model-part 2
Chapter 2 Relational Data Model-part 2
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Ch 6 Logical D B Design
Ch 6  Logical D B  DesignCh 6  Logical D B  Design
Ch 6 Logical D B Design
 
Chapter 2 Relational Data Model-part 3
Chapter 2 Relational Data Model-part 3Chapter 2 Relational Data Model-part 3
Chapter 2 Relational Data Model-part 3
 

Viewers also liked (8)

week-18x
week-18xweek-18x
week-18x
 
week-1x
week-1xweek-1x
week-1x
 
week-10x
week-10xweek-10x
week-10x
 
week-11x
week-11xweek-11x
week-11x
 
BrainFingerprintingpresentation
BrainFingerprintingpresentationBrainFingerprintingpresentation
BrainFingerprintingpresentation
 
DISTRIBUTED INTERACTIVE VIRTUAL ENVIRONMENT
DISTRIBUTED INTERACTIVE VIRTUAL ENVIRONMENTDISTRIBUTED INTERACTIVE VIRTUAL ENVIRONMENT
DISTRIBUTED INTERACTIVE VIRTUAL ENVIRONMENT
 
PPT (2)
PPT (2)PPT (2)
PPT (2)
 
week-23x
week-23xweek-23x
week-23x
 

Similar to ch6

erfrombook.ppt
erfrombook.ppterfrombook.ppt
erfrombook.ppt
VIVEKShaw40
 
ER Models.ppt
ER Models.pptER Models.ppt
ER Models.ppt
PrathamSinghal13
 
DATABASE MANAGEMENT SYSTEMS ER MODEL.ppt
DATABASE MANAGEMENT SYSTEMS ER MODEL.pptDATABASE MANAGEMENT SYSTEMS ER MODEL.ppt
DATABASE MANAGEMENT SYSTEMS ER MODEL.ppt
YashShirude1
 
Unit 3 final.pptx
Unit 3 final.pptxUnit 3 final.pptx
Unit 3 final.pptx
MaximusAranha
 
E R Model details.ppt
E R Model details.pptE R Model details.ppt
E R Model details.ppt
ShivareddyGangam
 
ER Model and other topics in DBMS
ER Model and other topics in DBMSER Model and other topics in DBMS
ER Model and other topics in DBMS
HarinarayananR2
 
Data & Databases
Data & Databases Data & Databases
Data & Databases
Tharindu Weerasinghe
 
Basic concepts of Data and Databases
Basic concepts of Data and Databases Basic concepts of Data and Databases
Basic concepts of Data and Databases
Tharindu Weerasinghe
 
U2_ER_upto_map_relations.pdf
U2_ER_upto_map_relations.pdfU2_ER_upto_map_relations.pdf
U2_ER_upto_map_relations.pdf
ssusera7b660
 
Test presentation
Test presentationTest presentation
Test presentation
nuvole
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMSkoolkampus
 
ER model
ER modelER model
ER model
paddu123
 
Er model
Er modelEr model
Er model
paddu123
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Maniguest1e0229a
 
ch6.ppt
ch6.pptch6.ppt
ch6.ppt
InduVerma40
 
Chapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptxChapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptx
santosh96234
 

Similar to ch6 (20)

erfrombook.ppt
erfrombook.ppterfrombook.ppt
erfrombook.ppt
 
ER Models.ppt
ER Models.pptER Models.ppt
ER Models.ppt
 
DATABASE MANAGEMENT SYSTEMS ER MODEL.ppt
DATABASE MANAGEMENT SYSTEMS ER MODEL.pptDATABASE MANAGEMENT SYSTEMS ER MODEL.ppt
DATABASE MANAGEMENT SYSTEMS ER MODEL.ppt
 
Unit 3 final.pptx
Unit 3 final.pptxUnit 3 final.pptx
Unit 3 final.pptx
 
E R Model details.ppt
E R Model details.pptE R Model details.ppt
E R Model details.ppt
 
ER Model and other topics in DBMS
ER Model and other topics in DBMSER Model and other topics in DBMS
ER Model and other topics in DBMS
 
Data & Databases
Data & Databases Data & Databases
Data & Databases
 
Basic concepts of Data and Databases
Basic concepts of Data and Databases Basic concepts of Data and Databases
Basic concepts of Data and Databases
 
U2_ER_upto_map_relations.pdf
U2_ER_upto_map_relations.pdfU2_ER_upto_map_relations.pdf
U2_ER_upto_map_relations.pdf
 
Test presentation
Test presentationTest presentation
Test presentation
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
dbms
dbmsdbms
dbms
 
ER model
ER modelER model
ER model
 
Er model
Er modelEr model
Er model
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Mani
 
ch7
ch7ch7
ch7
 
ch6.ppt
ch6.pptch6.ppt
ch6.ppt
 
Chapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptxChapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptx
 
L7 er2
L7 er2L7 er2
L7 er2
 
ch2
ch2ch2
ch2
 

More from KITE www.kitecolleges.com (20)

ch16
ch16ch16
ch16
 
holographic versatile disc
holographic versatile discholographic versatile disc
holographic versatile disc
 
week-22x
week-22xweek-22x
week-22x
 
week-16x
week-16xweek-16x
week-16x
 
week-5x
week-5xweek-5x
week-5x
 
week-6x
week-6xweek-6x
week-6x
 
week-3x
week-3xweek-3x
week-3x
 
ch8
ch8ch8
ch8
 
Intro Expert Systems test-me.co.uk
Intro Expert Systems test-me.co.ukIntro Expert Systems test-me.co.uk
Intro Expert Systems test-me.co.uk
 
ch17
ch17ch17
ch17
 
ch4
ch4ch4
ch4
 
week-7x
week-7xweek-7x
week-7x
 
week-9x
week-9xweek-9x
week-9x
 
week-4x
week-4xweek-4x
week-4x
 
week-14x
week-14xweek-14x
week-14x
 
AIRBORNE
AIRBORNEAIRBORNE
AIRBORNE
 
week-2x
week-2xweek-2x
week-2x
 
ch3
ch3ch3
ch3
 
Entity Classes and Attributes
Entity Classes and AttributesEntity Classes and Attributes
Entity Classes and Attributes
 
week-20x
week-20xweek-20x
week-20x
 

Recently uploaded

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 

Recently uploaded (20)

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 

ch6

  • 1. Chapter 6: Entity-Relationship Model Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See www.db-book.com for conditions on re-use
  • 2.
  • 3.
  • 4. Entity Sets customer and loan 6.4 Database System Concepts - 5 th Edition, July 11, 2005 customer_id customer_ customer_ customer_ loan_ amount name street city number
  • 5.
  • 6. Relationship Set borrower 6.6 Database System Concepts - 5 th Edition, July 11, 2005
  • 7.
  • 8.
  • 9.
  • 10. Composite Attributes 6.10 Database System Concepts - 5 th Edition, July 11, 2005
  • 11.
  • 12. Mapping Cardinalities 6.12 Database System Concepts - 5 th Edition, July 11, 2005 One to one One to many Note: Some elements in A and B may not be mapped to any elements in the other set
  • 13. Mapping Cardinalities 6.13 Database System Concepts - 5 th Edition, July 11, 2005 Many to one Many to many Note: Some elements in A and B may not be mapped to any elements in the other set
  • 14.
  • 15.
  • 16.
  • 17. E-R Diagram With Composite, Multivalued, and Derived Attributes 6.17 Database System Concepts - 5 th Edition, July 11, 2005
  • 18. Relationship Sets with Attributes 6.18 Database System Concepts - 5 th Edition, July 11, 2005
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. E-R Diagram with a Ternary Relationship 6.26 Database System Concepts - 5 th Edition, July 11, 2005
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33. How about doing an ER design interactively on the board? Suggest an application to be modeled. Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See www.db-book.com for conditions on re-use
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39. Specialization Example 6.39 Database System Concepts - 5 th Edition, July 11, 2005
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46. E-R Diagram With Aggregation 6.46 Database System Concepts - 5 th Edition, July 11, 2005
  • 47.
  • 48. E-R Diagram for a Banking Enterprise 6.48 Database System Concepts - 5 th Edition, July 11, 2005
  • 49. How about doing another ER design interactively on the board? Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See www.db-book.com for conditions on re-use
  • 50. Summary of Symbols Used in E-R Notation 6.50 Database System Concepts - 5 th Edition, July 11, 2005
  • 51. Summary of Symbols (Cont.) 6.51 Database System Concepts - 5 th Edition, July 11, 2005
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63. Summary of UML Class Diagram Notation 6.63 Database System Concepts - 5 th Edition, July 11, 2005
  • 64.
  • 65. UML Class Diagram Notation (Cont.) 6.65 Database System Concepts - 5 th Edition, July 11, 2005 * Note reversal of position in cardinality constraint depiction * Generalization can use merged or separate arrows independent of disjoint/overlapping overlapping disjoint
  • 66.
  • 67. End of Chapter 2 Database System Concepts, 5th Ed . ©Silberschatz, Korth and Sudarshan See www.db-book.com for conditions on re-use
  • 68. E-R Diagram for Exercise 2.10 6.68 Database System Concepts - 5 th Edition, July 11, 2005
  • 69. E-R Diagram for Exercise 2.15 6.69 Database System Concepts - 5 th Edition, July 11, 2005
  • 70. E-R Diagram for Exercise 2.22 6.70 Database System Concepts - 5 th Edition, July 11, 2005
  • 71. E-R Diagram for Exercise 2.15 6.71 Database System Concepts - 5 th Edition, July 11, 2005
  • 72.
  • 73. Figure 6.8 6.73 Database System Concepts - 5 th Edition, July 11, 2005
  • 74. Figure 6.15 6.74 Database System Concepts - 5 th Edition, July 11, 2005
  • 75. Figure 6.16 6.75 Database System Concepts - 5 th Edition, July 11, 2005
  • 76. Figure 6.26 6.76 Database System Concepts - 5 th Edition, July 11, 2005
  • 77. Figure 6.27 6.77 Database System Concepts - 5 th Edition, July 11, 2005
  • 78. Figure 6.28 6.78 Database System Concepts - 5 th Edition, July 11, 2005
  • 79. Figure 6.29 6.79 Database System Concepts - 5 th Edition, July 11, 2005
  • 80. Figure 6.30 6.80 Database System Concepts - 5 th Edition, July 11, 2005
  • 81. Figure 6.31 6.81 Database System Concepts - 5 th Edition, July 11, 2005
  • 82. Alternative E-R Notations Figure 6.24 6.82 Database System Concepts - 5 th Edition, July 11, 2005