SlideShare uma empresa Scribd logo
1 de 7
WEEK 2 ENTITY-RELATIONSHIP MODELING:
summary

Real-life example

 Relational Data Model Basic Concepts:
Entity, Attribute, Keys, Relationship, Cardinality
 ERD notation:
Rectangles, Ellipses, Diamonds, Lines
 Advantages / Disadvantages of ERD:

quiz
WEEK 2 ENTITY-RELATIONSHIP MODELING:
summary

Real-life example

quiz

 Mapping the ERD to the relational model
DVD(DVDId, Title, YearPublished)
Customer(CustomerId, FirstName, LastName, Address, PhoneNo)
Director(DiretorId, FirstName, LastName, Address, PhoneNo)
Actor(ActorId, FirstName, LastName, Address, PhoneNo)
Requests(DVDId, CustomerId, DateRequest)
Directed(DVDId, DiretorId, YearDirected)
PlaysIn(DVDId, ActorId, YearPlaysIn)
WEEK 2 ENTITY-RELATIONSHIP MODELING:
summary

Real-life example

quiz

Map the ERD for DVD rental database.
CustomerId

Address

PhoneNo

LastName

FirstName

LastName

Customer
N

DiretorId

DVDId
Requests

FirstName

Title

Date
Director

1

N
N

N

Directed

Address
PhoneNo

Year

YearPublished

DVD

Plays in
Year
Address

FirstName
N

PhoneNo

Actor

ActorId

LastName
WEEK 2 ENTITY-RELATIONSHIP MODELING:
summary

Real-life example

quiz

1. A thing in the real world with an independent existence is:
A. A bit
B. A window
C. An entity
D. A table
E. A database
2. Properties used to describe an entity are:
A. Attributes
B. Rows
C. Characters
D. Entities
E. Names

Enter answer,,,.
WEEK 2 ENTITY-RELATIONSHIP MODELING:
summary

Real-life example

quiz

1. A thing in the real world with an independent existence is:
A. A bit
B. A window
C. An entity
D. A table
E. A database
2. Properties used to describe an entity are:
A. Attributes
B. Rows
C. Characters
D. Entities
E. Names

answer is:
1. C

2. A
WEEK 2 ENTITY-RELATIONSHIP MODELING:
summary

Real-life example

quiz

3. An attribute that is selected to uniquely identify each occurrence of an entity
type is :
A. Alternate key
B. Prime attribute
C. Multi valued attribute
D. Primary key
E. Atomic attribute
4. The Entity-Relationship data model is an example of implementation of a field :
A. True
B. False
5. Cardinality specifies how many instances of an entity relate to one instance of
another entity :
A. True
B. False

Enter answer,,,.
WEEK 2 ENTITY-RELATIONSHIP MODELING:
summary

Real-life example

quiz

3. An attribute that is selected to uniquely identify each occurrence of an entity
type is :
A. Alternate key
B. Prime attribute
C. Multi valued attribute
D. Primary key
E. Atomic attribute
4. The Entity-Relationship data model is an example of implementation of a field :
A. True
B. False
5. Cardinality specifies how many instances of an entity relate to one instance of
another entity :
A. True
B. False

answer is:
3. D
4. B

5. A

Mais conteúdo relacionado

Semelhante a ER MODELING AND RELATIONAL MAPPING

Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship modelJafar Nesargi
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMSkoolkampus
 
Test presentation
Test presentationTest presentation
Test presentationnuvole
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Eddyzulham Mahluzydde
 
functional dependencies.ppt
functional dependencies.pptfunctional dependencies.ppt
functional dependencies.pptJohn874076
 
Free video lectures for mca
Free video lectures for mcaFree video lectures for mca
Free video lectures for mcaEdhole.com
 
ERD merupakan suatu diagram yang berisi komponen- komponen himpunan entitas ...
ERD merupakan suatu diagram yang berisi komponen- 	komponen himpunan entitas ...ERD merupakan suatu diagram yang berisi komponen- 	komponen himpunan entitas ...
ERD merupakan suatu diagram yang berisi komponen- komponen himpunan entitas ...huraitera
 
Database 3 Conceptual Modeling And Er
Database 3   Conceptual Modeling And ErDatabase 3   Conceptual Modeling And Er
Database 3 Conceptual Modeling And ErAshwani Kumar Ramani
 

Semelhante a ER MODELING AND RELATIONAL MAPPING (20)

259 w4
259 w4259 w4
259 w4
 
DBMS - ER Model
DBMS - ER ModelDBMS - ER Model
DBMS - ER Model
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
 
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
 
Data & Databases
Data & Databases Data & Databases
Data & Databases
 
27 fcs157al3
27 fcs157al327 fcs157al3
27 fcs157al3
 
Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1Chapter 2 Relational Data Model-part1
Chapter 2 Relational Data Model-part1
 
fds.ppt
fds.pptfds.ppt
fds.ppt
 
functional dependencies.ppt
functional dependencies.pptfunctional dependencies.ppt
functional dependencies.ppt
 
Chapter3
Chapter3Chapter3
Chapter3
 
Chapter3
Chapter3Chapter3
Chapter3
 
Free video lectures for mca
Free video lectures for mcaFree video lectures for mca
Free video lectures for mca
 
ER model
ER modelER model
ER model
 
Er model
Er modelEr model
Er model
 
dbms
dbmsdbms
dbms
 
ERD_01.ppt
ERD_01.pptERD_01.ppt
ERD_01.ppt
 
ERD_01.ppt
ERD_01.pptERD_01.ppt
ERD_01.ppt
 
ERD merupakan suatu diagram yang berisi komponen- komponen himpunan entitas ...
ERD merupakan suatu diagram yang berisi komponen- 	komponen himpunan entitas ...ERD merupakan suatu diagram yang berisi komponen- 	komponen himpunan entitas ...
ERD merupakan suatu diagram yang berisi komponen- komponen himpunan entitas ...
 
Database 3 Conceptual Modeling And Er
Database 3   Conceptual Modeling And ErDatabase 3   Conceptual Modeling And Er
Database 3 Conceptual Modeling And Er
 

Mais de Mr Patrick NIYISHAKA (20)

Summary
SummarySummary
Summary
 
3 summary
3 summary3 summary
3 summary
 
2 ddb architecture
2 ddb architecture2 ddb architecture
2 ddb architecture
 
1 ddb
1 ddb1 ddb
1 ddb
 
2 countermeasures
2 countermeasures2 countermeasures
2 countermeasures
 
2 countermeasures
2 countermeasures2 countermeasures
2 countermeasures
 
3 summary
3 summary3 summary
3 summary
 
1 db security
1 db security1 db security
1 db security
 
4 summary
4 summary4 summary
4 summary
 
3 summary
3 summary3 summary
3 summary
 
2 con control
2 con control2 con control
2 con control
 
1 con exe
1 con exe1 con exe
1 con exe
 
1 basic concepts
1 basic concepts1 basic concepts
1 basic concepts
 
2 recovery
2 recovery2 recovery
2 recovery
 
3 transaction
3 transaction3 transaction
3 transaction
 
3 summary
3 summary3 summary
3 summary
 
1 query processing
1 query processing1 query processing
1 query processing
 
1 query processing
1 query processing1 query processing
1 query processing
 
2 optimization
2 optimization2 optimization
2 optimization
 
2 collision
2 collision2 collision
2 collision
 

Último

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Último (20)

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

ER MODELING AND RELATIONAL MAPPING

  • 1. WEEK 2 ENTITY-RELATIONSHIP MODELING: summary Real-life example  Relational Data Model Basic Concepts: Entity, Attribute, Keys, Relationship, Cardinality  ERD notation: Rectangles, Ellipses, Diamonds, Lines  Advantages / Disadvantages of ERD: quiz
  • 2. WEEK 2 ENTITY-RELATIONSHIP MODELING: summary Real-life example quiz  Mapping the ERD to the relational model DVD(DVDId, Title, YearPublished) Customer(CustomerId, FirstName, LastName, Address, PhoneNo) Director(DiretorId, FirstName, LastName, Address, PhoneNo) Actor(ActorId, FirstName, LastName, Address, PhoneNo) Requests(DVDId, CustomerId, DateRequest) Directed(DVDId, DiretorId, YearDirected) PlaysIn(DVDId, ActorId, YearPlaysIn)
  • 3. WEEK 2 ENTITY-RELATIONSHIP MODELING: summary Real-life example quiz Map the ERD for DVD rental database. CustomerId Address PhoneNo LastName FirstName LastName Customer N DiretorId DVDId Requests FirstName Title Date Director 1 N N N Directed Address PhoneNo Year YearPublished DVD Plays in Year Address FirstName N PhoneNo Actor ActorId LastName
  • 4. WEEK 2 ENTITY-RELATIONSHIP MODELING: summary Real-life example quiz 1. A thing in the real world with an independent existence is: A. A bit B. A window C. An entity D. A table E. A database 2. Properties used to describe an entity are: A. Attributes B. Rows C. Characters D. Entities E. Names Enter answer,,,.
  • 5. WEEK 2 ENTITY-RELATIONSHIP MODELING: summary Real-life example quiz 1. A thing in the real world with an independent existence is: A. A bit B. A window C. An entity D. A table E. A database 2. Properties used to describe an entity are: A. Attributes B. Rows C. Characters D. Entities E. Names answer is: 1. C 2. A
  • 6. WEEK 2 ENTITY-RELATIONSHIP MODELING: summary Real-life example quiz 3. An attribute that is selected to uniquely identify each occurrence of an entity type is : A. Alternate key B. Prime attribute C. Multi valued attribute D. Primary key E. Atomic attribute 4. The Entity-Relationship data model is an example of implementation of a field : A. True B. False 5. Cardinality specifies how many instances of an entity relate to one instance of another entity : A. True B. False Enter answer,,,.
  • 7. WEEK 2 ENTITY-RELATIONSHIP MODELING: summary Real-life example quiz 3. An attribute that is selected to uniquely identify each occurrence of an entity type is : A. Alternate key B. Prime attribute C. Multi valued attribute D. Primary key E. Atomic attribute 4. The Entity-Relationship data model is an example of implementation of a field : A. True B. False 5. Cardinality specifies how many instances of an entity relate to one instance of another entity : A. True B. False answer is: 3. D 4. B 5. A