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

Contenu connexe

Similaire à 3 summary

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
 

Similaire à 3 summary (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 ...
 
Dbms ER Model
Dbms ER ModelDbms ER Model
Dbms ER Model
 

Plus 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
 

Dernier

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 

Dernier (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

3 summary

  • 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