Submit Search
Upload
Relational Databases - Lecture 2 - Entity-relationship diagram
•
1 like
•
202 views
Karina Sokolova
Follow
Conceptual model and entity-relationship diagram (Chen's notation)
Read less
Read more
Technology
Report
Share
Report
Share
1 of 25
Recommended
Relational Databases - Lecture 3 - Logical and physical models (UML)
Relational Databases - Lecture 3 - Logical and physical models (UML)
Karina Sokolova
Relational Databases - Lecture 4 - SQL language
Relational Databases - Lecture 4 - SQL language
Karina Sokolova
Relational Databases - Lecture 5 - SQL injection
Relational Databases - Lecture 5 - SQL injection
Karina Sokolova
Relational Databases - Lecture 1 - Introduction
Relational Databases - Lecture 1 - Introduction
Karina Sokolova
Marketing
Marketing
Channy Leang
Facebook Advertising
Facebook Advertising
Xerox
Twitter Advertisement
Twitter Advertisement
Xerox
Importance Of Good Friend
Importance Of Good Friend
NextFlights
Recommended
Relational Databases - Lecture 3 - Logical and physical models (UML)
Relational Databases - Lecture 3 - Logical and physical models (UML)
Karina Sokolova
Relational Databases - Lecture 4 - SQL language
Relational Databases - Lecture 4 - SQL language
Karina Sokolova
Relational Databases - Lecture 5 - SQL injection
Relational Databases - Lecture 5 - SQL injection
Karina Sokolova
Relational Databases - Lecture 1 - Introduction
Relational Databases - Lecture 1 - Introduction
Karina Sokolova
Marketing
Marketing
Channy Leang
Facebook Advertising
Facebook Advertising
Xerox
Twitter Advertisement
Twitter Advertisement
Xerox
Importance Of Good Friend
Importance Of Good Friend
NextFlights
Glenn Flekke Digital Portfolio
Glenn Flekke Digital Portfolio
gflekke
Mockup background
Mockup background
Saravanakumar Devaraj
Online Advertising Landscape
Online Advertising Landscape
Xerox
Business Card
Business Card
WebForYou Creative Agency
Allah The Most Merciful
Allah The Most Merciful
SaudiToursUK
Newnew
Newnew
admin15kkr
X1
X1
Maxim Petrov
CL - Fortaleza digital, Dan Brown
CL - Fortaleza digital, Dan Brown
Luís
Design is as good (or flawed) as the people who make it
Design is as good (or flawed) as the people who make it
Kayla J Heffernan
Aku
Aku
Juli September
TARJETA MADRE
TARJETA MADRE
MiguelngelGozaineArr
Let´s Fight for Human Unintelligence
Let´s Fight for Human Unintelligence
Robin-Boris Kasper
Intro to Biodesign: Working with Living Things
Intro to Biodesign: Working with Living Things
Leticia Oxley
How to build a great coding culture
How to build a great coding culture
Mark Halvorson
In-silico study of ToxCast GPCR assays by quantitative structure-activity rel...
In-silico study of ToxCast GPCR assays by quantitative structure-activity rel...
Kamel Mansouri
Ke hoach thi cong thang 9
Ke hoach thi cong thang 9
Bước Bên Aj
Salesforce Training Institute In Pune Syllabus
Salesforce Training Institute In Pune Syllabus
victoriousdigital
Image pacman
Image pacman
Francois Durant
annual-report-2016
annual-report-2016
Paul Adler
el pensamiento de
el pensamiento de
Javi Maycol
Bega Cheese - A $1 billion company?
Bega Cheese - A $1 billion company?
VCE Accounting - Michael Allison
SI-ESF-M-BIPV-CT-ROOFS
SI-ESF-M-BIPV-CT-ROOFS
Solar Innova
More Related Content
What's hot
Glenn Flekke Digital Portfolio
Glenn Flekke Digital Portfolio
gflekke
Mockup background
Mockup background
Saravanakumar Devaraj
Online Advertising Landscape
Online Advertising Landscape
Xerox
Business Card
Business Card
WebForYou Creative Agency
Allah The Most Merciful
Allah The Most Merciful
SaudiToursUK
Newnew
Newnew
admin15kkr
What's hot
(6)
Glenn Flekke Digital Portfolio
Glenn Flekke Digital Portfolio
Mockup background
Mockup background
Online Advertising Landscape
Online Advertising Landscape
Business Card
Business Card
Allah The Most Merciful
Allah The Most Merciful
Newnew
Newnew
Similar to Relational Databases - Lecture 2 - Entity-relationship diagram
X1
X1
Maxim Petrov
CL - Fortaleza digital, Dan Brown
CL - Fortaleza digital, Dan Brown
Luís
Design is as good (or flawed) as the people who make it
Design is as good (or flawed) as the people who make it
Kayla J Heffernan
Aku
Aku
Juli September
TARJETA MADRE
TARJETA MADRE
MiguelngelGozaineArr
Let´s Fight for Human Unintelligence
Let´s Fight for Human Unintelligence
Robin-Boris Kasper
Intro to Biodesign: Working with Living Things
Intro to Biodesign: Working with Living Things
Leticia Oxley
How to build a great coding culture
How to build a great coding culture
Mark Halvorson
In-silico study of ToxCast GPCR assays by quantitative structure-activity rel...
In-silico study of ToxCast GPCR assays by quantitative structure-activity rel...
Kamel Mansouri
Ke hoach thi cong thang 9
Ke hoach thi cong thang 9
Bước Bên Aj
Salesforce Training Institute In Pune Syllabus
Salesforce Training Institute In Pune Syllabus
victoriousdigital
Image pacman
Image pacman
Francois Durant
annual-report-2016
annual-report-2016
Paul Adler
el pensamiento de
el pensamiento de
Javi Maycol
Bega Cheese - A $1 billion company?
Bega Cheese - A $1 billion company?
VCE Accounting - Michael Allison
SI-ESF-M-BIPV-CT-ROOFS
SI-ESF-M-BIPV-CT-ROOFS
Solar Innova
SI-ESF-M-BIPV-CT-SKYLIGHTS
SI-ESF-M-BIPV-CT-SKYLIGHTS
Solar Innova
SI-ESF-M-BIPV-CT-CURTAIN WALLS
SI-ESF-M-BIPV-CT-CURTAIN WALLS
Solar Innova
SI-ESF-S-PVNB-NOISE BARRIERS
SI-ESF-S-PVNB-NOISE BARRIERS
Solar Innova
SI-ESF-M-BIPV-PL
SI-ESF-M-BIPV-PL
Solar Innova
Similar to Relational Databases - Lecture 2 - Entity-relationship diagram
(20)
X1
X1
CL - Fortaleza digital, Dan Brown
CL - Fortaleza digital, Dan Brown
Design is as good (or flawed) as the people who make it
Design is as good (or flawed) as the people who make it
Aku
Aku
TARJETA MADRE
TARJETA MADRE
Let´s Fight for Human Unintelligence
Let´s Fight for Human Unintelligence
Intro to Biodesign: Working with Living Things
Intro to Biodesign: Working with Living Things
How to build a great coding culture
How to build a great coding culture
In-silico study of ToxCast GPCR assays by quantitative structure-activity rel...
In-silico study of ToxCast GPCR assays by quantitative structure-activity rel...
Ke hoach thi cong thang 9
Ke hoach thi cong thang 9
Salesforce Training Institute In Pune Syllabus
Salesforce Training Institute In Pune Syllabus
Image pacman
Image pacman
annual-report-2016
annual-report-2016
el pensamiento de
el pensamiento de
Bega Cheese - A $1 billion company?
Bega Cheese - A $1 billion company?
SI-ESF-M-BIPV-CT-ROOFS
SI-ESF-M-BIPV-CT-ROOFS
SI-ESF-M-BIPV-CT-SKYLIGHTS
SI-ESF-M-BIPV-CT-SKYLIGHTS
SI-ESF-M-BIPV-CT-CURTAIN WALLS
SI-ESF-M-BIPV-CT-CURTAIN WALLS
SI-ESF-S-PVNB-NOISE BARRIERS
SI-ESF-S-PVNB-NOISE BARRIERS
SI-ESF-M-BIPV-PL
SI-ESF-M-BIPV-PL
Recently uploaded
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
comworks
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
carlostorres15106
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
The Digital Insurer
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Recently uploaded
(20)
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Relational Databases - Lecture 2 - Entity-relationship diagram
1.
1 0 0 1 0 1 0 0 1 0 1 0 1 0 0 1 0 0 1 1 0 0 1 0 1 0 1 1 0 1 1 0 0 1 0 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 1 0 1 1 0 1 ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ ✑ ✐ ✐ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 0 1 0 0 1 ✑ 1 0 0 1 0 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 0 1 1 0 0 1 0 1 0 0 1 0 1 1 1 1 0 1 1 0 0 1 0 1 1 1 1 1 1 0 0 0 1 0 1 0 0 1 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 0 0 1 0 1 1 1 1 1 ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✑ Entity-Relationship diagram Conceptual model
2.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 ED diagram Chen's notation
proposed in 1976 Entity Relationship Entity Entity Attribute Relationship Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute Attribute
3.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Entity Student University Employee Department Would become a
relation • Categories of similar measurements • Could be a physical object or a concept
4.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Attributes • Measurements within
a category Student Name Surname Nationality StudentID Name StudentID Surname Nationality Student
5.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Attributes • Atomic vs.
Composite Student Name StudentID Surname Nationality ( Address ) City Zip Country ( Street ) Name Number
6.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Attributes • Single vs.
Multi-valued Student Name StudentID Surname Nationality { Degree } University Year Title
7.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Attributes • Derived Student Name StudentID Surname Nationality BirthDate Age
8.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Relationship Student Name StudentID Surname Nationality University Name Address Country Attends
9.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Relationship Student Name StudentID Surname Nationality Course Name Description Code Take Semester Grade
10.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Cardinality Student UniversityAttends 1..11..N Student UniversityAttends min max max min
11.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Cardinality One-to-one One-to-many Many-to-many Many-to-one
12.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Cardinality • One-to-one • One-to-many •
Many-to-one • Many-to-many Person Carowns 1 1 Person Carowns 1 N Student Universit y attends N 1 Student Classattends N N
13.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Cardinality Car Personowns 1..10..N Car Personowns •
Optional
14.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Self-relationship University Name Address Country Branch 1..1 1..N
15.
1 0 0 1 0 1 0 0 1 0 1 0 1 0 0 1 0 0 1 1 0 0 1 0 1 0 1 1 0 1 1 0 0 1 0 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 1 0 1 ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ ✑ ✐ ✐ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 0 1 0 0 1 ✑ 0 0 1 0 0 1 0 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 0 1 1 0 0 1 0 1 0 0 1 0 1 1 1 1 0 1 1 0 0 1 0 1 1 1 1 1 1 0 0 0 1 0 1 0 0 1 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 0 0 1 0 1 1 1 1 1 ✑ ✐ ✐ ✑ ✑ Entity-relationship
16.
1 0 0 1 0 1 0 0 1 0 1 0 1 0 0 1 0 0 1 1 0 0 1 0 1 0 1 1 0 1 1 0 0 1 0 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 1 0 1 1 0 1 ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ ✑ ✐ ✐ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 0 1 0 0 1 ✑ 1 0 0 1 0 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 0 1 1 0 0 1 0 1 0 0 1 0 1 1 1 1 0 1 1 0 0 1 0 1 1 1 1 1 1 0 0 0 1 0 1 0 0 1 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 0 0 1 0 1 1 1 1 1 ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✑ Entity-Relationship diagram Logical model
17.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Primary key • Unique
non-null identifier attribute for a tuple Student Name Surname Nationality StudentID 27643 9345 6523 1984 Name StudentID Surname Nationality Student
18.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Composite key ClassRoom DescsNumber ( ClassroomID
) RoomNumber Building RoomNumber Building DescsNumber 101 T 101 N 102 A 102 B
19.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Foreign key • Unique
identifier that enforces a link between the data in two tables Student Name StudentID Surname Nationality University Name Address Country Attends
20.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Foreign key • Unique
identifier that enforces a link between the data in two tables Student UniversityAttends StudentID Name Surname Nationality University.Name
21.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Weak entity Color BuildingID NumFloors Height Number Floor Size Building
contains Apartmentcontains • Primary key contains foreign key
22.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Weak entity Building contains
Apartmentcontains • Primary key contains foreign key Building.BuildingID Number Size Floor
23.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Many-to-many • Cannot exist
in the database • Must be split with a weak entity Student ClassAttends StudentID ClassID
24.
1 0 1 0 0 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 1 1 1 0 0 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 ✑ ✑ 1 ✑ ✑ 1 0 1 Many-to-many Student Class Completion StudentID ClassID containsachieves
containscontains Semester Grade
25.
1 0 0 1 0 1 0 0 1 0 1 0 1 0 0 1 0 0 1 1 0 0 1 0 1 0 1 1 0 1 1 0 0 1 0 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 1 0 1 ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ ✑ ✐ ✐ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✑ ✑ ✐ ✑ ✐ ✑ ✐ ✐ ✑ ✐ ✐ ✑ ✐ ✑ ✑ 0 1 0 0 1 ✑ 0 0 1 0 0 1 0 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 0 1 1 0 0 1 0 1 0 0 1 0 1 1 1 1 0 1 1 0 0 1 0 1 1 1 1 1 1 0 0 0 1 0 1 0 0 1 1 1 1 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 1 0 1 0 0 1 0 1 1 1 1 1 ✑ ✐ ✐ ✑ ✑ Entity-relationship