SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Mehr von 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
 

Kürzlich hochgeladen

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 

Kürzlich hochgeladen (20)

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 

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