SlideShare a Scribd company logo
ERD FOR UC Online
Requirement: Each book has an id, title, publication date,
publisher, ISBN, functional category, page count, price
(publisher), and product description
. Please make ‘id’ for ‘BookID’. All columns name in lower
case.
. Price is missing.
. Please Remove table name ‘Book’ in columns in same table.
Like BookTitle to title.
. Please edit int(100) to just int. and varchar(100) to varchar
Requirement: There are 3 categories of book: fiction, non-
fiction, and specialty
. Why all the relationships have (o) optional, a book must have
a category. (|) required in the fork?
Requirement: An author can write one or more books.
. Same issue optional? It’s one or many. (o) to (|).
Requirement: A musician can be a solo artist, part of a group, or
both
. Do we need a group entity where an artist might be in a group?
Assume if I need all artist from a same group, how can I find?
Requirement: An author can also be associated with one or more
publishers.
. Where’s the relationships between author and publisher?
Requirement: A musician/group/act can be associated with one
or more music houses
. Why optional? It says one or many.
Requirement: An author’s book can have one or more editions.
. Do we need another Book_Edition entity to maintain this
relationship?
Requirement: Many ISBNs can also be associated with a given
publisher but only one ISBN per form of medium (ie the ISBN
is the PK no matter what).
. Do we need to make isbn primary key as well? A table can
have multiple primary key.
Requirement: UCOnline needs to keep track of user ratings for
each item sold in the online store (e.g., 1-5 and 1 for ‘Dislike’,
to 5, for ‘Awesome!’).
. Book, Song, Album must be associated with Ratings?
Requirement: A particular user rates a particular item at a given
time.
. Relationship?
Requirement: A user CANNOT rate the same multiple times
unless there are multiple editions of the item. Each edition can
be rated separately.
. Relationship?
Requirement: Each user who submits a rating will be identified
by a unique id and has a name, gender, age, and location.
Nothing is anonymous.
. Need a new entity to have this feature and relationships with
customer, Book, Song, Album?
SECTION 1
Data Fundamentals Overview
Section Beginning (Dark Color Option )
1
Fundamental relationship
Relationship between two entity types
A person, place, or thing “acts” upon something to complete ”x”
(i.e. purchase a product)
Binary Relationships
Data Fundamentals Overview
Salesperson
Product
Sells
2
Represents the maximum number of entities that can be
involved in a relationship.
One-to-One Binary Relationship
One-to-Many Binary Relationship
Many-to-Many Binary Relationship
Cardinality
Data Fundamentals Overview
3
The minimum number of entity occurrences that can be involved
in a relationship.
“inner” symbol on E-R diagram (“outer” symbol is cardinality)
Modality
Data Fundamentals Overview
Everyone order has exactly ONE customer AND Every customer
has one or more ORDERS
4
Associate occurrences of an entity type with other occurrences
of the same entity type.
Unary Relationships
Data Fundamentals Overview
5
A single occurrence of one entity type can be associated with a
single occurrence of the other entity type and vice versa
1:1 Relationships
Data Fundamentals Overview
Student
Student ID #
6
Use “crow’s foot” to represent the multiple association.
“many” = the maximum number of occurrences that can be
involved, means a number that can be 1, 2, 3, ... n.
1:M Relationships
Data Fundamentals Overview
Company
Product A
Product B
Product C
7
“Many” can be either an exact number or have a known
maximum.
M:M Relationships
Data Fundamentals Overview
Musicians
Albums
Musicians
Musicians
8
Involves three different entity types
Ternary Relationships
Data Fundamentals Overview
9
Describes the relationship between two entities.
Used with many-to-many relationships.
Represented on E-R diagram as an “associative entity”
Intersection Data
Data Fundamentals Overview
10
Entities can have attributes; many-to-many relationships can
have attributes.
Many-to-many relationship may be treated similarly to entities
in an E-R diagram.
Associative Entity
Data Fundamentals
11
SECTION 2
Data Modeling Creation
Section Beginning (Dark Color Option )
12
A diagramming technique
Diagrams entities (with attributes) and the relationship between
the entities.
There are many variations of E-R diagrams in use.
The E-R Diagram
Data Fundamentals Overview
13
Entity Relationship Diagram Basics
Entity type’s attributes are shown below the separator line.
PK and boldface denote the attribute(s) that constitute the entity
type’s unique identifier
Rectangular shape
OBJECT = a type of entity
Name of entity is in caps above the separator line.
Data Fundamentals Overview
14
In an ER diagrams, common practice is to a convention that
entity type and relationship type names are uppercase letters,
attribute names have their initial letter capitalized, and
role names are lowercase letter
Data Definition & Naming Conventions
Data Fundamentals Overview
15
SECTION 3
Assignment
Section Beginning (Dark Color Option )
16
Each book has an id, title, publication date, publisher, ISBN,
functional category, page count, price (publisher), and product
description
There are 3 categories of book: fiction, non-fiction, and
specialty
There are 2 categories of music: digital and media-based
An author can write one or more books.
A musician can be a solo artist, part of a group, or both
An author can also be associated with one or more publishers.
A musician/group/act can be associated with one or more music
houses
An author’s book can have one or more editions.
A song and or album can have more than one version/edition
(i.e. EP, LP, CD, DVD etc)
A publisher can have many authors and many books.
A record company can have many artists associated and many
albums associated with it.
A record company can also be the publishing company (i.e. self-
publishing)

Many ISBNs can also be associated with a given publisher but
only one ISBN per form of medium (ie the ISBN is the PK no
matter what).
An author can write many books.
An artist can write many songs, albums etc.
UCOnline needs to keep track of user ratings for each item sold
in the online store (e.g., 1-5 and 1 for ‘Dislike’, to 5, for
‘Awesome!’).
A particular user rates a particular item at a given time.
A user CANNOT rate the same multiple times unless there are
multiple editions of the item. Each edition can be rated
separately.
Each user who submits a rating will be identified by a unique id
and has a name, gender, age, and location. Nothing is
anonymous.
There is also a social network between users. Users can send
communication requests (i.e. instant messages/emails) to other
users. Such requests can be accepted or ignored. Once accepted,
the two users are considered ‘book buddies.’ If ignored, the user
can send the request again. We want to add a store when the
requests were sent (timestamp), the result of the requests and
when the request was answered (timestamp).
Tools
Visio
Visual Paradigm Online
SQLDBM
Draw.io
ERDPlus
Lucidchart

More Related Content

Similar to ERD FOR UC OnlineRequirement Each book has an i.docx

6 b magazine conventions
6 b   magazine conventions6 b   magazine conventions
6 b magazine conventionspeterconnell
 
Tek electronic music magazine
Tek electronic music magazineTek electronic music magazine
Tek electronic music magazine
AnthonyTeazdale
 
Apa style citations revised2
Apa style citations revised2Apa style citations revised2
Apa style citations revised2
Jamie Flathers
 
ERD.pptx
ERD.pptxERD.pptx
ERD.pptx
sarahabbas40
 
Dps Analysis Answers Nme
Dps Analysis Answers NmeDps Analysis Answers Nme
Dps Analysis Answers Nmeguestdc3961
 
Relational database
Relational databaseRelational database
Relational database
SanthiNivas
 
Penpalling And Letters How To Write A Letter
Penpalling And Letters How To Write A LetterPenpalling And Letters How To Write A Letter
Penpalling And Letters How To Write A Letter
Rebecca Diamond
 
Shearer / Unit One Assignment / English102
Shearer / Unit One Assignment / English102Shearer / Unit One Assignment / English102
Shearer / Unit One Assignment / English102
Clare Shearer
 
How to Read and Understand an Expository EssayThe Initial Read.docx
How to Read and Understand an Expository EssayThe Initial Read.docxHow to Read and Understand an Expository EssayThe Initial Read.docx
How to Read and Understand an Expository EssayThe Initial Read.docx
adampcarr67227
 
Unit One Assignment / English102 / Shearer
Unit One Assignment / English102 / ShearerUnit One Assignment / English102 / Shearer
Unit One Assignment / English102 / Shearer
Clare Shearer
 
Media Evaluation Q1.
Media Evaluation Q1.Media Evaluation Q1.
Media Evaluation Q1.
josheveritt
 
Genre.pptx
Genre.pptxGenre.pptx
Genre.pptx
RafaelPerezOlivan
 
Critique Essay
Critique EssayCritique Essay
Planning
PlanningPlanning
Planning
Occy Occomore
 
Double page spread statement of intent
Double page spread statement of intentDouble page spread statement of intent
Double page spread statement of intentlilflickmania
 
Magazine pitch and proposal overview
Magazine pitch and proposal overviewMagazine pitch and proposal overview
Magazine pitch and proposal overviewBethanyTweddell
 
planning - media
planning - media planning - media
planning - media
Occy Occomore
 
Presentation1
Presentation1Presentation1
Presentation1
Occy Occomore
 
Fire starter
Fire starterFire starter
Fire starter
AESnider
 
CULTURAL ARTIFACT 1 Music as a Cultural Artifact Rhythm
CULTURAL ARTIFACT  1 Music as a Cultural Artifact Rhythm CULTURAL ARTIFACT  1 Music as a Cultural Artifact Rhythm
CULTURAL ARTIFACT 1 Music as a Cultural Artifact Rhythm
MargenePurnell14
 

Similar to ERD FOR UC OnlineRequirement Each book has an i.docx (20)

6 b magazine conventions
6 b   magazine conventions6 b   magazine conventions
6 b magazine conventions
 
Tek electronic music magazine
Tek electronic music magazineTek electronic music magazine
Tek electronic music magazine
 
Apa style citations revised2
Apa style citations revised2Apa style citations revised2
Apa style citations revised2
 
ERD.pptx
ERD.pptxERD.pptx
ERD.pptx
 
Dps Analysis Answers Nme
Dps Analysis Answers NmeDps Analysis Answers Nme
Dps Analysis Answers Nme
 
Relational database
Relational databaseRelational database
Relational database
 
Penpalling And Letters How To Write A Letter
Penpalling And Letters How To Write A LetterPenpalling And Letters How To Write A Letter
Penpalling And Letters How To Write A Letter
 
Shearer / Unit One Assignment / English102
Shearer / Unit One Assignment / English102Shearer / Unit One Assignment / English102
Shearer / Unit One Assignment / English102
 
How to Read and Understand an Expository EssayThe Initial Read.docx
How to Read and Understand an Expository EssayThe Initial Read.docxHow to Read and Understand an Expository EssayThe Initial Read.docx
How to Read and Understand an Expository EssayThe Initial Read.docx
 
Unit One Assignment / English102 / Shearer
Unit One Assignment / English102 / ShearerUnit One Assignment / English102 / Shearer
Unit One Assignment / English102 / Shearer
 
Media Evaluation Q1.
Media Evaluation Q1.Media Evaluation Q1.
Media Evaluation Q1.
 
Genre.pptx
Genre.pptxGenre.pptx
Genre.pptx
 
Critique Essay
Critique EssayCritique Essay
Critique Essay
 
Planning
PlanningPlanning
Planning
 
Double page spread statement of intent
Double page spread statement of intentDouble page spread statement of intent
Double page spread statement of intent
 
Magazine pitch and proposal overview
Magazine pitch and proposal overviewMagazine pitch and proposal overview
Magazine pitch and proposal overview
 
planning - media
planning - media planning - media
planning - media
 
Presentation1
Presentation1Presentation1
Presentation1
 
Fire starter
Fire starterFire starter
Fire starter
 
CULTURAL ARTIFACT 1 Music as a Cultural Artifact Rhythm
CULTURAL ARTIFACT  1 Music as a Cultural Artifact Rhythm CULTURAL ARTIFACT  1 Music as a Cultural Artifact Rhythm
CULTURAL ARTIFACT 1 Music as a Cultural Artifact Rhythm
 

More from theodorelove43763

Exam Questions1. (Mandatory) Assess the strengths and weaknesse.docx
Exam Questions1. (Mandatory) Assess the strengths and weaknesse.docxExam Questions1. (Mandatory) Assess the strengths and weaknesse.docx
Exam Questions1. (Mandatory) Assess the strengths and weaknesse.docx
theodorelove43763
 
Evolving Leadership roles in HIM1. Increased adoption of hea.docx
Evolving Leadership roles in HIM1. Increased adoption of hea.docxEvolving Leadership roles in HIM1. Increased adoption of hea.docx
Evolving Leadership roles in HIM1. Increased adoption of hea.docx
theodorelove43763
 
exam 2 logiWhatsApp Image 2020-01-18 at 1.01.20 AM (1).jpeg.docx
exam 2 logiWhatsApp Image 2020-01-18 at 1.01.20 AM (1).jpeg.docxexam 2 logiWhatsApp Image 2020-01-18 at 1.01.20 AM (1).jpeg.docx
exam 2 logiWhatsApp Image 2020-01-18 at 1.01.20 AM (1).jpeg.docx
theodorelove43763
 
Evolution of Terrorism300wrdDo you think terrorism has bee.docx
Evolution of Terrorism300wrdDo you think terrorism has bee.docxEvolution of Terrorism300wrdDo you think terrorism has bee.docx
Evolution of Terrorism300wrdDo you think terrorism has bee.docx
theodorelove43763
 
Evidence-based practice is an approach to health care where health c.docx
Evidence-based practice is an approach to health care where health c.docxEvidence-based practice is an approach to health care where health c.docx
Evidence-based practice is an approach to health care where health c.docx
theodorelove43763
 
Evidence-Based EvaluationEvidence-based practice is importan.docx
Evidence-Based EvaluationEvidence-based practice is importan.docxEvidence-Based EvaluationEvidence-based practice is importan.docx
Evidence-Based EvaluationEvidence-based practice is importan.docx
theodorelove43763
 
Evidence TableStudy CitationDesignMethodSampleData C.docx
Evidence TableStudy CitationDesignMethodSampleData C.docxEvidence TableStudy CitationDesignMethodSampleData C.docx
Evidence TableStudy CitationDesignMethodSampleData C.docx
theodorelove43763
 
Evidence SynthesisCritique the below evidence synthesis ex.docx
Evidence SynthesisCritique the below evidence synthesis ex.docxEvidence SynthesisCritique the below evidence synthesis ex.docx
Evidence SynthesisCritique the below evidence synthesis ex.docx
theodorelove43763
 
Evidence Collection PolicyScenarioAfter the recent secur.docx
Evidence Collection PolicyScenarioAfter the recent secur.docxEvidence Collection PolicyScenarioAfter the recent secur.docx
Evidence Collection PolicyScenarioAfter the recent secur.docx
theodorelove43763
 
Everyone Why would companies have quality programs even though they.docx
Everyone Why would companies have quality programs even though they.docxEveryone Why would companies have quality programs even though they.docx
Everyone Why would companies have quality programs even though they.docx
theodorelove43763
 
Even though technology has shifted HRM to strategic partner, has thi.docx
Even though technology has shifted HRM to strategic partner, has thi.docxEven though technology has shifted HRM to strategic partner, has thi.docx
Even though technology has shifted HRM to strategic partner, has thi.docx
theodorelove43763
 
Even though people are aware that earthquakes and volcanoes typi.docx
Even though people are aware that earthquakes and volcanoes typi.docxEven though people are aware that earthquakes and volcanoes typi.docx
Even though people are aware that earthquakes and volcanoes typi.docx
theodorelove43763
 
Evaluative Essay 2 Grading RubricCriteriaLevels of Achievement.docx
Evaluative Essay 2 Grading RubricCriteriaLevels of Achievement.docxEvaluative Essay 2 Grading RubricCriteriaLevels of Achievement.docx
Evaluative Essay 2 Grading RubricCriteriaLevels of Achievement.docx
theodorelove43763
 
Evaluation Title Research DesignFor this first assignment, .docx
Evaluation Title Research DesignFor this first assignment, .docxEvaluation Title Research DesignFor this first assignment, .docx
Evaluation Title Research DesignFor this first assignment, .docx
theodorelove43763
 
Evaluation is the set of processes and methods that managers and sta.docx
Evaluation is the set of processes and methods that managers and sta.docxEvaluation is the set of processes and methods that managers and sta.docx
Evaluation is the set of processes and methods that managers and sta.docx
theodorelove43763
 
Evaluation Plan with Policy RecommendationAfter a program ha.docx
Evaluation Plan with Policy RecommendationAfter a program ha.docxEvaluation Plan with Policy RecommendationAfter a program ha.docx
Evaluation Plan with Policy RecommendationAfter a program ha.docx
theodorelove43763
 
Evaluating 19-Channel Z-score Neurofeedback Addressi.docx
Evaluating 19-Channel Z-score Neurofeedback  Addressi.docxEvaluating 19-Channel Z-score Neurofeedback  Addressi.docx
Evaluating 19-Channel Z-score Neurofeedback Addressi.docx
theodorelove43763
 
Evaluate the history of the Data Encryption Standard (DES) and then .docx
Evaluate the history of the Data Encryption Standard (DES) and then .docxEvaluate the history of the Data Encryption Standard (DES) and then .docx
Evaluate the history of the Data Encryption Standard (DES) and then .docx
theodorelove43763
 
Evaluate the Health History and Medical Information for Mrs. J.,.docx
Evaluate the Health History and Medical Information for Mrs. J.,.docxEvaluate the Health History and Medical Information for Mrs. J.,.docx
Evaluate the Health History and Medical Information for Mrs. J.,.docx
theodorelove43763
 
Evaluate the environmental factors that contribute to corporate mana.docx
Evaluate the environmental factors that contribute to corporate mana.docxEvaluate the environmental factors that contribute to corporate mana.docx
Evaluate the environmental factors that contribute to corporate mana.docx
theodorelove43763
 

More from theodorelove43763 (20)

Exam Questions1. (Mandatory) Assess the strengths and weaknesse.docx
Exam Questions1. (Mandatory) Assess the strengths and weaknesse.docxExam Questions1. (Mandatory) Assess the strengths and weaknesse.docx
Exam Questions1. (Mandatory) Assess the strengths and weaknesse.docx
 
Evolving Leadership roles in HIM1. Increased adoption of hea.docx
Evolving Leadership roles in HIM1. Increased adoption of hea.docxEvolving Leadership roles in HIM1. Increased adoption of hea.docx
Evolving Leadership roles in HIM1. Increased adoption of hea.docx
 
exam 2 logiWhatsApp Image 2020-01-18 at 1.01.20 AM (1).jpeg.docx
exam 2 logiWhatsApp Image 2020-01-18 at 1.01.20 AM (1).jpeg.docxexam 2 logiWhatsApp Image 2020-01-18 at 1.01.20 AM (1).jpeg.docx
exam 2 logiWhatsApp Image 2020-01-18 at 1.01.20 AM (1).jpeg.docx
 
Evolution of Terrorism300wrdDo you think terrorism has bee.docx
Evolution of Terrorism300wrdDo you think terrorism has bee.docxEvolution of Terrorism300wrdDo you think terrorism has bee.docx
Evolution of Terrorism300wrdDo you think terrorism has bee.docx
 
Evidence-based practice is an approach to health care where health c.docx
Evidence-based practice is an approach to health care where health c.docxEvidence-based practice is an approach to health care where health c.docx
Evidence-based practice is an approach to health care where health c.docx
 
Evidence-Based EvaluationEvidence-based practice is importan.docx
Evidence-Based EvaluationEvidence-based practice is importan.docxEvidence-Based EvaluationEvidence-based practice is importan.docx
Evidence-Based EvaluationEvidence-based practice is importan.docx
 
Evidence TableStudy CitationDesignMethodSampleData C.docx
Evidence TableStudy CitationDesignMethodSampleData C.docxEvidence TableStudy CitationDesignMethodSampleData C.docx
Evidence TableStudy CitationDesignMethodSampleData C.docx
 
Evidence SynthesisCritique the below evidence synthesis ex.docx
Evidence SynthesisCritique the below evidence synthesis ex.docxEvidence SynthesisCritique the below evidence synthesis ex.docx
Evidence SynthesisCritique the below evidence synthesis ex.docx
 
Evidence Collection PolicyScenarioAfter the recent secur.docx
Evidence Collection PolicyScenarioAfter the recent secur.docxEvidence Collection PolicyScenarioAfter the recent secur.docx
Evidence Collection PolicyScenarioAfter the recent secur.docx
 
Everyone Why would companies have quality programs even though they.docx
Everyone Why would companies have quality programs even though they.docxEveryone Why would companies have quality programs even though they.docx
Everyone Why would companies have quality programs even though they.docx
 
Even though technology has shifted HRM to strategic partner, has thi.docx
Even though technology has shifted HRM to strategic partner, has thi.docxEven though technology has shifted HRM to strategic partner, has thi.docx
Even though technology has shifted HRM to strategic partner, has thi.docx
 
Even though people are aware that earthquakes and volcanoes typi.docx
Even though people are aware that earthquakes and volcanoes typi.docxEven though people are aware that earthquakes and volcanoes typi.docx
Even though people are aware that earthquakes and volcanoes typi.docx
 
Evaluative Essay 2 Grading RubricCriteriaLevels of Achievement.docx
Evaluative Essay 2 Grading RubricCriteriaLevels of Achievement.docxEvaluative Essay 2 Grading RubricCriteriaLevels of Achievement.docx
Evaluative Essay 2 Grading RubricCriteriaLevels of Achievement.docx
 
Evaluation Title Research DesignFor this first assignment, .docx
Evaluation Title Research DesignFor this first assignment, .docxEvaluation Title Research DesignFor this first assignment, .docx
Evaluation Title Research DesignFor this first assignment, .docx
 
Evaluation is the set of processes and methods that managers and sta.docx
Evaluation is the set of processes and methods that managers and sta.docxEvaluation is the set of processes and methods that managers and sta.docx
Evaluation is the set of processes and methods that managers and sta.docx
 
Evaluation Plan with Policy RecommendationAfter a program ha.docx
Evaluation Plan with Policy RecommendationAfter a program ha.docxEvaluation Plan with Policy RecommendationAfter a program ha.docx
Evaluation Plan with Policy RecommendationAfter a program ha.docx
 
Evaluating 19-Channel Z-score Neurofeedback Addressi.docx
Evaluating 19-Channel Z-score Neurofeedback  Addressi.docxEvaluating 19-Channel Z-score Neurofeedback  Addressi.docx
Evaluating 19-Channel Z-score Neurofeedback Addressi.docx
 
Evaluate the history of the Data Encryption Standard (DES) and then .docx
Evaluate the history of the Data Encryption Standard (DES) and then .docxEvaluate the history of the Data Encryption Standard (DES) and then .docx
Evaluate the history of the Data Encryption Standard (DES) and then .docx
 
Evaluate the Health History and Medical Information for Mrs. J.,.docx
Evaluate the Health History and Medical Information for Mrs. J.,.docxEvaluate the Health History and Medical Information for Mrs. J.,.docx
Evaluate the Health History and Medical Information for Mrs. J.,.docx
 
Evaluate the environmental factors that contribute to corporate mana.docx
Evaluate the environmental factors that contribute to corporate mana.docxEvaluate the environmental factors that contribute to corporate mana.docx
Evaluate the environmental factors that contribute to corporate mana.docx
 

Recently uploaded

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 

Recently uploaded (20)

1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 

ERD FOR UC OnlineRequirement Each book has an i.docx

  • 1. ERD FOR UC Online Requirement: Each book has an id, title, publication date, publisher, ISBN, functional category, page count, price (publisher), and product description . Please make ‘id’ for ‘BookID’. All columns name in lower case. . Price is missing. . Please Remove table name ‘Book’ in columns in same table. Like BookTitle to title. . Please edit int(100) to just int. and varchar(100) to varchar Requirement: There are 3 categories of book: fiction, non- fiction, and specialty . Why all the relationships have (o) optional, a book must have a category. (|) required in the fork? Requirement: An author can write one or more books. . Same issue optional? It’s one or many. (o) to (|). Requirement: A musician can be a solo artist, part of a group, or both . Do we need a group entity where an artist might be in a group? Assume if I need all artist from a same group, how can I find?
  • 2. Requirement: An author can also be associated with one or more publishers. . Where’s the relationships between author and publisher? Requirement: A musician/group/act can be associated with one or more music houses . Why optional? It says one or many. Requirement: An author’s book can have one or more editions. . Do we need another Book_Edition entity to maintain this relationship? Requirement: Many ISBNs can also be associated with a given publisher but only one ISBN per form of medium (ie the ISBN is the PK no matter what). . Do we need to make isbn primary key as well? A table can have multiple primary key. Requirement: UCOnline needs to keep track of user ratings for each item sold in the online store (e.g., 1-5 and 1 for ‘Dislike’, to 5, for ‘Awesome!’). . Book, Song, Album must be associated with Ratings? Requirement: A particular user rates a particular item at a given time. . Relationship? Requirement: A user CANNOT rate the same multiple times unless there are multiple editions of the item. Each edition can be rated separately. . Relationship? Requirement: Each user who submits a rating will be identified by a unique id and has a name, gender, age, and location. Nothing is anonymous.
  • 3. . Need a new entity to have this feature and relationships with customer, Book, Song, Album? SECTION 1 Data Fundamentals Overview Section Beginning (Dark Color Option ) 1 Fundamental relationship Relationship between two entity types A person, place, or thing “acts” upon something to complete ”x” (i.e. purchase a product) Binary Relationships Data Fundamentals Overview Salesperson Product Sells 2 Represents the maximum number of entities that can be involved in a relationship. One-to-One Binary Relationship
  • 4. One-to-Many Binary Relationship Many-to-Many Binary Relationship Cardinality Data Fundamentals Overview 3 The minimum number of entity occurrences that can be involved in a relationship. “inner” symbol on E-R diagram (“outer” symbol is cardinality) Modality Data Fundamentals Overview Everyone order has exactly ONE customer AND Every customer has one or more ORDERS 4 Associate occurrences of an entity type with other occurrences of the same entity type. Unary Relationships Data Fundamentals Overview
  • 5. 5 A single occurrence of one entity type can be associated with a single occurrence of the other entity type and vice versa 1:1 Relationships Data Fundamentals Overview Student Student ID # 6 Use “crow’s foot” to represent the multiple association. “many” = the maximum number of occurrences that can be involved, means a number that can be 1, 2, 3, ... n. 1:M Relationships Data Fundamentals Overview Company Product A Product B Product C 7 “Many” can be either an exact number or have a known maximum. M:M Relationships Data Fundamentals Overview
  • 6. Musicians Albums Musicians Musicians 8 Involves three different entity types Ternary Relationships Data Fundamentals Overview 9 Describes the relationship between two entities. Used with many-to-many relationships. Represented on E-R diagram as an “associative entity” Intersection Data Data Fundamentals Overview 10 Entities can have attributes; many-to-many relationships can have attributes. Many-to-many relationship may be treated similarly to entities
  • 7. in an E-R diagram. Associative Entity Data Fundamentals 11 SECTION 2 Data Modeling Creation Section Beginning (Dark Color Option ) 12 A diagramming technique Diagrams entities (with attributes) and the relationship between the entities. There are many variations of E-R diagrams in use. The E-R Diagram Data Fundamentals Overview 13 Entity Relationship Diagram Basics Entity type’s attributes are shown below the separator line. PK and boldface denote the attribute(s) that constitute the entity
  • 8. type’s unique identifier Rectangular shape OBJECT = a type of entity Name of entity is in caps above the separator line. Data Fundamentals Overview 14 In an ER diagrams, common practice is to a convention that entity type and relationship type names are uppercase letters, attribute names have their initial letter capitalized, and role names are lowercase letter Data Definition & Naming Conventions Data Fundamentals Overview 15 SECTION 3 Assignment Section Beginning (Dark Color Option )
  • 9. 16 Each book has an id, title, publication date, publisher, ISBN, functional category, page count, price (publisher), and product description There are 3 categories of book: fiction, non-fiction, and specialty There are 2 categories of music: digital and media-based An author can write one or more books. A musician can be a solo artist, part of a group, or both An author can also be associated with one or more publishers. A musician/group/act can be associated with one or more music houses An author’s book can have one or more editions. A song and or album can have more than one version/edition (i.e. EP, LP, CD, DVD etc) A publisher can have many authors and many books. A record company can have many artists associated and many albums associated with it. A record company can also be the publishing company (i.e. self- publishing) Many ISBNs can also be associated with a given publisher but only one ISBN per form of medium (ie the ISBN is the PK no matter what). An author can write many books. An artist can write many songs, albums etc. UCOnline needs to keep track of user ratings for each item sold in the online store (e.g., 1-5 and 1 for ‘Dislike’, to 5, for ‘Awesome!’). A particular user rates a particular item at a given time. A user CANNOT rate the same multiple times unless there are multiple editions of the item. Each edition can be rated
  • 10. separately. Each user who submits a rating will be identified by a unique id and has a name, gender, age, and location. Nothing is anonymous. There is also a social network between users. Users can send communication requests (i.e. instant messages/emails) to other users. Such requests can be accepted or ignored. Once accepted, the two users are considered ‘book buddies.’ If ignored, the user can send the request again. We want to add a store when the requests were sent (timestamp), the result of the requests and when the request was answered (timestamp). Tools Visio Visual Paradigm Online SQLDBM Draw.io ERDPlus Lucidchart