SlideShare a Scribd company logo
IS-DBS 213
Presented By:
Dr. Rosemarie S. Guirre
The Use of DBMS
and the Database
WRAP UP
The Database Environment and Development Process
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Data
Information
Data vs. Information
Database
Metadata
DBMS
Data Dictionary
Data Models
Types of Models
Relational Model
Keys
ERD
Data Mining
Components of DB
DB Dev. Process
Modeling Data in the
Organization
IS-DBS 313-2
1. E-R Model Notation
2. Modeling the Rules of the
Organization
3. Modeling Entities and Attributes
4. Modeling Relationship
TOPICS
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Entity-Relationship Model
Models conceptual database design
in terms of entities, attributes, and
relationships between entities
E-R Model
Developed by Chen in 1976
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Enhanced E-R model (EER
model)
Entity-Relationship Symbols
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Attribute
Relationship
Entity
ER SYMBOLS
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Entity Symbols
STRONG ENTITY
ASSOCIATIVE
ENTITY
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Entity Symbols
ASSOCIATIVE
ENTITY
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Entity Symbols
STRONG ENTITY
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Entity Symbols
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
ER SYMBOLS
Attribute
Symbols
ATTRIBUTE
{MULTIVALUED}
ATTRIBUTE
[DERIVED]
ATTRIBUTE
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Attribute
Symbols
STRONG ENTITY
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Attribute
Symbols
ATTRIBUTE
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Attribute
Symbols
{MULTIVALUED}
ATTRIBUTE
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Attribute
Symbols
[DERIVED]
ATTRIBUTE
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
ER SYMBOLS
Relationship
Symbols
RELATIONSHIP
IDENTIFYING
RELATIONSHIP
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Types of
Relationship
Symbols
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Identify ER
Symbols
Attribute
Relationship
Entity
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
ER SYMBOLS
MANDATORY ONE
MANDATORY MANY
OPTIONAL ONE
OPTIONAL MANY
MANY TO MANY
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
MANDATORY
ONE
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
OPTIONAL
MANY
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
MANY
TO
MANY
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
MANDATORY
MANY
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
OPTIONAL
ONE
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
ER SYMBOLS
UNARY
One entity
BINARY
2
1 TERNARY
2
1
3
2 entities
3 entities
E-R Model Constructs
person, place, object, event, concept
(often corresponds to a row in a table)
Entity (instance)
collection of entities (often
corresponds to a table)
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Entity Set or Type
Entities
Strong vs Weak
Entities
exist independently of other types
of entities
has its own unique identifier
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
represented with single-line
rectangle
STRONG ENTITY
Strong vs Weak
Entities
Does not have a unique identifier
dependent on a strong
entity…cannot exist on its own
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
represented with double-line
rectangle
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
STRONG
ENTITY
WEAK
ENTITY
EMPLOYEE HAS
emp_id emp_name date_of_birth
dep_name
mid_name
first_name
last_name
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Analyze
the flow
Entity has attributes links together
All relationships for the associative entity
should be many
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Independent of the other entities
ASSOCIATIVE
ENTITY
preferably has a unique identifier, and
should also have other attributes
participating in other relationships other than
the entities of the associated relationship
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
ASSOCIATIVE
ENTITY
CERTIFICATE
ASSOCIATIVE ENTITY
EMPLOYEE COURSE
emp_id emp_name
cert_num date_completed
course_id course_title
What Should an
Entity Be?
An object that will have many
instances in the database
SHOULD BE:
An object that will be composed of
multiple attributes
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
An object that are trying to model
An Entity Should
Not Be?
A user of the database system
An output of the database
system (e.g. a report)
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
INAPPROPRIATE
ENTITIES
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
System user System output
Appropriate entities
E-R Model Constructs
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Entities
THINGS
TANGIBLE
ROLES
PLAYED
ORGANIZA-
TIONAL UNITS DEVICES
INCIDENTS,
EVENTS,
INTERACTIONS
SITES
LOCATIONS
Airplane
Book
Vehicle
Document
Worksheet
Employees
Customer
Doctor
Patient
End User
System
Admin
Division
Department
Section
Task Force
Work group
Sensor
Timer
Controller
Printer
Keyboard
Mouse
Button
Flight
Service Call
Logon
Logoff
Contract
Purchase
Payment
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
E-R Model Constructs
property or characteristic of
an entity or relationship type
(often corresponds to a
column in a table)
Attributes
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
E-R Model Constructs
Primary Key - unique
Types of Attributes
Foreign Key – PK in another
DB
Relationship Set or Type
E-R Model Constructs
link between entities (corresponds to
primary key-foreign key equivalencies
in related tables)
Relationship (instance)
category of relationship…link
between entity types
Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
Relationship
Prepared By: Dr. Rosemarie S. Guirre | IS-DBS 313-2
END OF MODULE 1

More Related Content

More from Dr. Rosemarie Sibbaluca-Guirre

Korean Language: Culture 한국어 개요
Korean Language: Culture 한국어 개요Korean Language: Culture 한국어 개요
Korean Language: Culture 한국어 개요
Dr. Rosemarie Sibbaluca-Guirre
 
Korean Language Overview 한국어 개요
Korean Language Overview 한국어 개요Korean Language Overview 한국어 개요
Korean Language Overview 한국어 개요
Dr. Rosemarie Sibbaluca-Guirre
 
Conjunction 접속사
Conjunction   접속사Conjunction   접속사
Conjunction 접속사
Dr. Rosemarie Sibbaluca-Guirre
 
Pronoun 대명사
Pronoun  대명사Pronoun  대명사
Usage of Particles 입자의 사용
Usage of Particles 입자의 사용Usage of Particles 입자의 사용
Usage of Particles 입자의 사용
Dr. Rosemarie Sibbaluca-Guirre
 
Usage of Particles 입자의 사용
Usage of Particles 입자의 사용Usage of Particles 입자의 사용
Usage of Particles 입자의 사용
Dr. Rosemarie Sibbaluca-Guirre
 
Korean Word Order 한국어 단어 순서
Korean Word Order 한국어 단어 순서Korean Word Order 한국어 단어 순서
Korean Word Order 한국어 단어 순서
Dr. Rosemarie Sibbaluca-Guirre
 
Korean Number 한국 번호
Korean Number 한국 번호Korean Number 한국 번호
Korean Number 한국 번호
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptxISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptxISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-2_ SYSTEM ANALYSIS.pptx
ISAD 313-2_ SYSTEM ANALYSIS.pptxISAD 313-2_ SYSTEM ANALYSIS.pptx
ISAD 313-2_ SYSTEM ANALYSIS.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-4_ RESEARCH PROJECT.pptx
ISAD 313-4_ RESEARCH PROJECT.pptxISAD 313-4_ RESEARCH PROJECT.pptx
ISAD 313-4_ RESEARCH PROJECT.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-3_ SYSTEM FLOW.pptx
ISAD 313-3_ SYSTEM FLOW.pptxISAD 313-3_ SYSTEM FLOW.pptx
ISAD 313-3_ SYSTEM FLOW.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ISAD 313-3_ MODELS.pptx
ISAD 313-3_ MODELS.pptxISAD 313-3_ MODELS.pptx
ISAD 313-3_ MODELS.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_9_Financial Position.pptx
ACCT11_9_Financial Position.pptxACCT11_9_Financial Position.pptx
ACCT11_9_Financial Position.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_7_Performance.pptx
ACCT11_7_Performance.pptxACCT11_7_Performance.pptx
ACCT11_7_Performance.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_5_Adjusting Entries.pptx
ACCT11_5_Adjusting Entries.pptxACCT11_5_Adjusting Entries.pptx
ACCT11_5_Adjusting Entries.pptx
Dr. Rosemarie Sibbaluca-Guirre
 
ACCT11_4_Trial Balance.pptx
ACCT11_4_Trial Balance.pptxACCT11_4_Trial Balance.pptx
ACCT11_4_Trial Balance.pptx
Dr. Rosemarie Sibbaluca-Guirre
 

More from Dr. Rosemarie Sibbaluca-Guirre (20)

Korean Language: Culture 한국어 개요
Korean Language: Culture 한국어 개요Korean Language: Culture 한국어 개요
Korean Language: Culture 한국어 개요
 
Korean Language Overview 한국어 개요
Korean Language Overview 한국어 개요Korean Language Overview 한국어 개요
Korean Language Overview 한국어 개요
 
Conjunction 접속사
Conjunction   접속사Conjunction   접속사
Conjunction 접속사
 
Pronoun 대명사
Pronoun  대명사Pronoun  대명사
Pronoun 대명사
 
Usage of Particles 입자의 사용
Usage of Particles 입자의 사용Usage of Particles 입자의 사용
Usage of Particles 입자의 사용
 
Usage of Particles 입자의 사용
Usage of Particles 입자의 사용Usage of Particles 입자의 사용
Usage of Particles 입자의 사용
 
Korean Word Order 한국어 단어 순서
Korean Word Order 한국어 단어 순서Korean Word Order 한국어 단어 순서
Korean Word Order 한국어 단어 순서
 
Korean Number 한국 번호
Korean Number 한국 번호Korean Number 한국 번호
Korean Number 한국 번호
 
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptxISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
ISAD 313-3_ TOOLS OF THE SYSTEM ANALYSIS.pptx
 
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptxISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
ISAD 313-1_INTRODUCTION TO SYSTEMS.pptx
 
ISAD 313-2_ SYSTEM ANALYSIS.pptx
ISAD 313-2_ SYSTEM ANALYSIS.pptxISAD 313-2_ SYSTEM ANALYSIS.pptx
ISAD 313-2_ SYSTEM ANALYSIS.pptx
 
ISAD 313-4_ RESEARCH PROJECT.pptx
ISAD 313-4_ RESEARCH PROJECT.pptxISAD 313-4_ RESEARCH PROJECT.pptx
ISAD 313-4_ RESEARCH PROJECT.pptx
 
ISAD 313-3_ SYSTEM FLOW.pptx
ISAD 313-3_ SYSTEM FLOW.pptxISAD 313-3_ SYSTEM FLOW.pptx
ISAD 313-3_ SYSTEM FLOW.pptx
 
ISAD 313-3_ MODELS.pptx
ISAD 313-3_ MODELS.pptxISAD 313-3_ MODELS.pptx
ISAD 313-3_ MODELS.pptx
 
ACCT11_9_Financial Position.pptx
ACCT11_9_Financial Position.pptxACCT11_9_Financial Position.pptx
ACCT11_9_Financial Position.pptx
 
ACCT11_8_Equity.pptx
ACCT11_8_Equity.pptxACCT11_8_Equity.pptx
ACCT11_8_Equity.pptx
 
ACCT11_7_Performance.pptx
ACCT11_7_Performance.pptxACCT11_7_Performance.pptx
ACCT11_7_Performance.pptx
 
ACCT11_6_Worksheet.pptx
ACCT11_6_Worksheet.pptxACCT11_6_Worksheet.pptx
ACCT11_6_Worksheet.pptx
 
ACCT11_5_Adjusting Entries.pptx
ACCT11_5_Adjusting Entries.pptxACCT11_5_Adjusting Entries.pptx
ACCT11_5_Adjusting Entries.pptx
 
ACCT11_4_Trial Balance.pptx
ACCT11_4_Trial Balance.pptxACCT11_4_Trial Balance.pptx
ACCT11_4_Trial Balance.pptx
 

Recently uploaded

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
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
 
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
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
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
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
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
 
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
 
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
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 

Recently uploaded (20)

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
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
 
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
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
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
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
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
 
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 Á...
 
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
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 

Modeling Data in the Organization

  • 1. IS-DBS 213 Presented By: Dr. Rosemarie S. Guirre The Use of DBMS and the Database
  • 2. WRAP UP The Database Environment and Development Process Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Data Information Data vs. Information Database Metadata DBMS Data Dictionary Data Models Types of Models Relational Model Keys ERD Data Mining Components of DB DB Dev. Process
  • 3. Modeling Data in the Organization IS-DBS 313-2 1. E-R Model Notation 2. Modeling the Rules of the Organization 3. Modeling Entities and Attributes 4. Modeling Relationship TOPICS Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
  • 4. Entity-Relationship Model Models conceptual database design in terms of entities, attributes, and relationships between entities E-R Model Developed by Chen in 1976 Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Enhanced E-R model (EER model)
  • 5. Entity-Relationship Symbols Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Attribute Relationship Entity
  • 6. ER SYMBOLS Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Entity Symbols STRONG ENTITY ASSOCIATIVE ENTITY
  • 7. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Entity Symbols ASSOCIATIVE ENTITY
  • 8. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Entity Symbols STRONG ENTITY
  • 9. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Entity Symbols
  • 10. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 ER SYMBOLS Attribute Symbols ATTRIBUTE {MULTIVALUED} ATTRIBUTE [DERIVED] ATTRIBUTE
  • 11. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Attribute Symbols STRONG ENTITY
  • 12. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Attribute Symbols ATTRIBUTE
  • 13. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Attribute Symbols {MULTIVALUED} ATTRIBUTE
  • 14. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Attribute Symbols [DERIVED] ATTRIBUTE
  • 15. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 ER SYMBOLS Relationship Symbols RELATIONSHIP IDENTIFYING RELATIONSHIP
  • 16. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Types of Relationship Symbols
  • 17. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Identify ER Symbols Attribute Relationship Entity
  • 18. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 ER SYMBOLS MANDATORY ONE MANDATORY MANY OPTIONAL ONE OPTIONAL MANY MANY TO MANY
  • 19. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 MANDATORY ONE
  • 20. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 OPTIONAL MANY
  • 21. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 MANY TO MANY
  • 22. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 MANDATORY MANY
  • 23. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 OPTIONAL ONE
  • 24. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 ER SYMBOLS UNARY One entity BINARY 2 1 TERNARY 2 1 3 2 entities 3 entities
  • 25. E-R Model Constructs person, place, object, event, concept (often corresponds to a row in a table) Entity (instance) collection of entities (often corresponds to a table) Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Entity Set or Type Entities
  • 26. Strong vs Weak Entities exist independently of other types of entities has its own unique identifier Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 represented with single-line rectangle STRONG ENTITY
  • 27. Strong vs Weak Entities Does not have a unique identifier dependent on a strong entity…cannot exist on its own Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 represented with double-line rectangle
  • 28. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 STRONG ENTITY WEAK ENTITY EMPLOYEE HAS emp_id emp_name date_of_birth dep_name mid_name first_name last_name
  • 29. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Analyze the flow
  • 30. Entity has attributes links together All relationships for the associative entity should be many Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Independent of the other entities ASSOCIATIVE ENTITY preferably has a unique identifier, and should also have other attributes participating in other relationships other than the entities of the associated relationship
  • 31. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 ASSOCIATIVE ENTITY CERTIFICATE ASSOCIATIVE ENTITY EMPLOYEE COURSE emp_id emp_name cert_num date_completed course_id course_title
  • 32. What Should an Entity Be? An object that will have many instances in the database SHOULD BE: An object that will be composed of multiple attributes Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 An object that are trying to model
  • 33. An Entity Should Not Be? A user of the database system An output of the database system (e.g. a report) Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2
  • 34. INAPPROPRIATE ENTITIES Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 System user System output Appropriate entities
  • 35. E-R Model Constructs Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Entities THINGS TANGIBLE ROLES PLAYED ORGANIZA- TIONAL UNITS DEVICES INCIDENTS, EVENTS, INTERACTIONS SITES LOCATIONS Airplane Book Vehicle Document Worksheet Employees Customer Doctor Patient End User System Admin Division Department Section Task Force Work group Sensor Timer Controller Printer Keyboard Mouse Button Flight Service Call Logon Logoff Contract Purchase Payment
  • 36. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 E-R Model Constructs property or characteristic of an entity or relationship type (often corresponds to a column in a table) Attributes
  • 37. Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 E-R Model Constructs Primary Key - unique Types of Attributes Foreign Key – PK in another DB
  • 38. Relationship Set or Type E-R Model Constructs link between entities (corresponds to primary key-foreign key equivalencies in related tables) Relationship (instance) category of relationship…link between entity types Presented By: Dr. Rosemarie S. Guirre | IS-DBS 213-2 Relationship
  • 39. Prepared By: Dr. Rosemarie S. Guirre | IS-DBS 313-2 END OF MODULE 1

Editor's Notes

  1. Entity-Relationship Model a detailed, logical representation of the entities, associations, and data elements for an organization or business area. (E-R Model) Models conceptual database design in terms of entities, attributes, and relationships between entities Developed by Chen in 1976 Enhanced by others over the years Enhanced E-R model (EER model)
  2. Entity-Relationship Symbols Entity a “thing” in the real world has an independent existence Attribute(s) One specific piece of information about a thing a property of the entity has a value (or value set or domain)
  3. Relationship Naturally occurring association among specific things Occur in two directions Cardinality/multiplicity
  4. 1. RELATIONSHIP 2. IDENTIFYING RELATIONSHIP
  5. Cardinality the number of instances of an entity that are associated with another entity Specify number of entity types involved
  6. MANDATORY ONE
  7. OPTIONAL MANY
  8. MANY TO MANY
  9. MANDATORY MANY
  10. OPTIONAL ONE
  11. Degree of Relationship number of entities that participate in the relationship Unary (recursive) degree one A relationship between instances of one entity. One entity related to another of the same entity type Binary degree two A relationship between instances of two entities Entities of two different types related to each other Ternary A relationship between instances of three entities Entities of three different types related to each other
  12. Identifying relationship – links strong entities to weak entities – represented with double line diamond
  13. Associative Entities It’s an entity – it has attributes AND it’s a relationship – it links entities together When should a relationship with attributes instead be an associative entity? – All relationships for the associative entity should be many – The associative entity could have meaning independent of the other entities – The associative entity preferably has a unique identifier, and should also have other attributes – The associative may be participating in other relationships other than the entities of the associated relationship
  14. Associative entity involves a rectangle with a diamond inside. Note that many to many cardinality symbols face toward the associative entity and not toward the other entities
  15. An Entity is a thing the users need to know (i.e, record) something about.
  16. Identifier (primary key / key attribute) An attribute (or attributes) selected as the unique, identifying characteristic for an entity. Foreign Key An attribute (or attributes) in one database table that is the primary key in another database table
  17. Relationship Naturally occurring association among specific things Occur in two directions Cardinality/multiplicity