SlideShare a Scribd company logo
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
URL
file:///Applications/WhatsApp.app/Contents/Resources/app.asar/
index.html#
URL
file:///Applications/WhatsApp.app/Contents/Resources/app.asar/
index.html#
URL
file:///Applications/WhatsApp.app/Contents/Resources/app.asar/
index.html#

More Related Content

DOCX
The goal of the projects throughout this semester is to implement .docx
DOCX
ERD FOR UC OnlineRequirement Each book has an i.docx
DOCX
ERD FOR UC OnlineRequirement Each book has an i.docx
PPTX
Entity-Relationship Diagram (ERD) Material.pptx
PPTX
database.pptx
PPTX
Entity relationship Models from Chapter 4
PDF
chapter 3-Data Modelling using Entity Relationship .pdf
PDF
Database Systems - Entity Relationship Modeling (Chapter 4/2)
The goal of the projects throughout this semester is to implement .docx
ERD FOR UC OnlineRequirement Each book has an i.docx
ERD FOR UC OnlineRequirement Each book has an i.docx
Entity-Relationship Diagram (ERD) Material.pptx
database.pptx
Entity relationship Models from Chapter 4
chapter 3-Data Modelling using Entity Relationship .pdf
Database Systems - Entity Relationship Modeling (Chapter 4/2)

Similar to SECTION 1Data Fundamentals OverviewSection Beginning (.docx (20)

PPTX
Unit 2 new.pptx for the actual dbms chad
PPTX
Entity Relationship Modelling
PPT
Database Management System
DOCX
Create a diagram using a diagramming tool AND provide a written text.docx
PPTX
PPT
Relational Databases 2
PPT
Desigining of Database - ER Model
PPTX
Chapter 4_ERD- introduction to entity relationship diagram.pptx
PDF
Database-Relationships.pdf
PPTX
ERD.pptx
PPTX
1.Intro to Database management System.pptx
PDF
Lecture one db
PDF
Entity Relationship Model
PPTX
Dmbbb
PPTX
Dmbbb
PPTX
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
PPTX
Data modeling
PDF
dbms mannual.pdf
PPT
E R Model details.ppt
PPTX
A database is a means of storing information in such a way that information c...
Unit 2 new.pptx for the actual dbms chad
Entity Relationship Modelling
Database Management System
Create a diagram using a diagramming tool AND provide a written text.docx
Relational Databases 2
Desigining of Database - ER Model
Chapter 4_ERD- introduction to entity relationship diagram.pptx
Database-Relationships.pdf
ERD.pptx
1.Intro to Database management System.pptx
Lecture one db
Entity Relationship Model
Dmbbb
Dmbbb
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Data modeling
dbms mannual.pdf
E R Model details.ppt
A database is a means of storing information in such a way that information c...
Ad

More from rtodd280 (20)

DOCX
Sebika Darnal Devarani ArumugamENGL-1302-51008 Mar -03- 2020.docx
DOCX
SeaWorldBusch GardensPrimates4-8 Classroom Activities.docx
DOCX
Seattle Take Home Final Exam h There are Four Different Versio.docx
DOCX
Seba Alwayel517 Catawba circle Columbia, SC 29201 · 8032372950.docx
DOCX
Searching for the Wrong-Eyed Jesus, clip 1, Due Saturday, February .docx
DOCX
Searching Databases (APA 7 format and at least 3-4 references)Wh.docx
DOCX
Searching for help with this For this two-part assessment,.docx
DOCX
Search the Internet for an article where physical security failed.docx
DOCX
Search Yahoo Finance orand any other credible source(s) to find the.docx
DOCX
Search Yahoo Finance orand any other credible source(s) to find.docx
DOCX
Search WarrantAffidavit Project Paper 3-6 pages, double spa.docx
DOCX
Search the internet for best practices for developing technolo.docx
DOCX
Search the Internet for articles on Implementing a Biometrics Usage .docx
DOCX
Search the Human Rights Watch website for examples of human ri.docx
DOCX
Search the Internet and locate a victim impact statement (vide.docx
DOCX
Search the Internet and watch the first 6 minutes of PBS Idea Ch.docx
DOCX
Search the Internet for any short article related to our topics this.docx
DOCX
Search the internet and learn about the cases of nurses Julie Th.docx
DOCX
Search the Internet for articles on Implementing Biometrics To.docx
DOCX
Search the Web for reports of cloud system failures. Write a 3 to 4 .docx
Sebika Darnal Devarani ArumugamENGL-1302-51008 Mar -03- 2020.docx
SeaWorldBusch GardensPrimates4-8 Classroom Activities.docx
Seattle Take Home Final Exam h There are Four Different Versio.docx
Seba Alwayel517 Catawba circle Columbia, SC 29201 · 8032372950.docx
Searching for the Wrong-Eyed Jesus, clip 1, Due Saturday, February .docx
Searching Databases (APA 7 format and at least 3-4 references)Wh.docx
Searching for help with this For this two-part assessment,.docx
Search the Internet for an article where physical security failed.docx
Search Yahoo Finance orand any other credible source(s) to find the.docx
Search Yahoo Finance orand any other credible source(s) to find.docx
Search WarrantAffidavit Project Paper 3-6 pages, double spa.docx
Search the internet for best practices for developing technolo.docx
Search the Internet for articles on Implementing a Biometrics Usage .docx
Search the Human Rights Watch website for examples of human ri.docx
Search the Internet and locate a victim impact statement (vide.docx
Search the Internet and watch the first 6 minutes of PBS Idea Ch.docx
Search the Internet for any short article related to our topics this.docx
Search the internet and learn about the cases of nurses Julie Th.docx
Search the Internet for articles on Implementing Biometrics To.docx
Search the Web for reports of cloud system failures. Write a 3 to 4 .docx
Ad

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Pharma ospi slides which help in ospi learning
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Institutional Correction lecture only . . .
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Classroom Observation Tools for Teachers
PPTX
master seminar digital applications in india
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
01-Introduction-to-Information-Management.pdf
Cell Structure & Organelles in detailed.
Final Presentation General Medicine 03-08-2024.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
RMMM.pdf make it easy to upload and study
Microbial disease of the cardiovascular and lymphatic systems
Pharma ospi slides which help in ospi learning
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Microbial diseases, their pathogenesis and prophylaxis
Institutional Correction lecture only . . .
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Supply Chain Operations Speaking Notes -ICLT Program
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Classroom Observation Tools for Teachers
master seminar digital applications in india
O7-L3 Supply Chain Operations - ICLT Program
Sports Quiz easy sports quiz sports quiz
Abdominal Access Techniques with Prof. Dr. R K Mishra
01-Introduction-to-Information-Management.pdf

SECTION 1Data Fundamentals OverviewSection Beginning (.docx

  • 1. 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
  • 2. 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
  • 3. 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
  • 4. 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
  • 5. 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
  • 6. 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
  • 7. 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,
  • 8. 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 URL file:///Applications/WhatsApp.app/Contents/Resources/app.asar/ index.html# URL file:///Applications/WhatsApp.app/Contents/Resources/app.asar/ index.html#