SlideShare une entreprise Scribd logo
1  sur  82
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

Contenu connexe

Tendances

Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueAmiya9439793168
 
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 part2eidah20
 
ER Diagrams Simplified
ER Diagrams SimplifiedER Diagrams Simplified
ER Diagrams SimplifiedPuneet Arora
 
Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data ModelSmriti 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 Constraintssontumax
 
Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database languageJafar Nesargi
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Eddyzulham Mahluzydde
 
Relational database intro for marketers
Relational database intro for marketersRelational database intro for marketers
Relational database intro for marketersSteve 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 ModelAmiya9439793168
 
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 2Eddyzulham Mahluzydde
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model IntroductionNishant 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 3Eddyzulham Mahluzydde
 

Tendances (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
 

En vedette (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
 

Similaire à 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
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
Test presentation
Test presentationTest presentation
Test presentation
 
ER model
ER modelER model
ER model
 
Er model
Er modelEr model
Er model
 
dbms
dbmsdbms
dbms
 
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
 

Plus de 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
 

Dernier

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Dernier (20)

Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

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