SlideShare a Scribd company logo
Entity-Relationship Data Model
Presentation Contents
• An Introduction
• Entities & Relationships
• Cardinality, Degree, Existence of Relationships
• Attributes and Identifiers
• Building an Entity-Relationship model
History of
E-R Model
An Introduction
• E-R Model was proposed by Dr. Peter Chen
(currently professor at Louisiana State
University)
• Chen’s original paper on E-R Model is the 35th
most sited paper in computer science
• Chen has written papers interconnecting E-R
model and linguistics
Database Life
Cycle
An Introduction
Requirements
• specification of customer/user needs/desires
Design
• specification of potential solution or solution approach
Implementation
• providing the solution
Test Results
• evaluations, inferences, reports, documentation
Modifications
• changes/additions to solution
An Introduction
The three schema approach to software engineering uses three levels
of ER models that was developed.
Conceptual data model
Logical data model
Physical data model
The Conceptual Model
• Conceptual model captures the global/institutional view of the data semantics.
• It investigates and enumerates the various entities that participate in the
business environment being modelled
Conceptual
Data Model
Features of
E-R Model
An Introduction
1. Diagrammatic.
2. Simple but expressive.
3. Easy to map into traditional DBMS models.
4. Extensions
> Extended ER Model
> Entity Category Relationship Model
> Enhanced ER Model
E-R Modeling
Entities & Relationships
Entity-Relationship (E-R) Modeling is a
conceptual modeling tool.
perceives the business environment in terms of
participating “entities” and the “relationship”
between them.
e.g. many employees work for a department
E-R Modeling
Entities & Relationships
Entity
is a “data object”
models some object/entity in the real-world;
entity type represents the set of all similar
objects.
identified by the nouns in the requirements
specification.
must have a name that is unique across the
entire model and has a consistent meaning
across the modelling team and the end users.
E-R Modeling
Entities & Relationships
Attributes
characteristics/properties of an entity, that
provide descriptive details of it.
every attribute must be given a name that is
unique across the entity (distinct entities may
have attributes with the same name).
attribute names are also subject to the same
rules that govern entity names (consistent
meaning, documentation, etc..)
EMP ID
Name Address
Types of
Attributes
Entities & Relationships
1.Simple and composite
2.Single-valued and multivalued
3.Null
4.Derived
Entities & Relationships
Relationship
• ER models in the real-world association between two
or more entities (binary, ternary relationship).
• A relationship can be optional or mandatory
“degree” is the number of entity sets involved in
• the relationship. typically 2 (binary); other
common degrees are 1 (recursive) and 3 (ternary).
Attributes and Identifiers
Simple and Composite
Attributes
Simple Attribute: An attribute composed of a
single component with an independent
existence. E.g position and salary of the Staff
entity.
Composite Attribute: An attribute composed
of multiple components, each with an
independent existence. E.g adress attribute of
the branch entity that can be subdivided into
street, city and postcode attributes
Single-Valued and Multi-Valued
Attributes
Single-Valued Attribute: An attribute that
holds a single value for each occurrence of an
entity type. E.g branch No.
Multi-Valued Attributes: An attribute that
holds multiple values for each occurrence of
an entity type. E.g telephone No.
Attributes and Identifiers
Derived
Attributes
Derived Attributes: An attribute that
represents a value that is derivable from the
value of a related attribute or set of
attributes, not necessarily in the same entity
type.
E.g attribute duration which value is
derived from the rent Start and rent Finish
attributes.
Attributes and Identifiers
Cardinality, Degree, Existence of Relationship
Cardinality
• “Cardinality” indicates the entity occurrences (instances) participating
in a relationship.
• takes values as “one” or “many”. e.g. a one: many relationship
indicates that for
• Every occurrence of one entity, there are many related instances of the
other entity.
Employee Department
Cardinality, Degree, Existence of Relationship
One-to-One (1:1)
Cardinality, Degree, Existence of Relationship
One-to-Many (1:*)
Cardinality, Degree, Existence of Relationship
Many-to-Many (*:*)
Building the ER Model
• the requirements specification is the first step to any
design; it captures the ‘what’ of the business
environment.
• also documents the “business rules” - i.e., the
constraints that will apply to your database.
e.g. every department must have a manager; and
only one manager.
• the ER model must capture the participating entities
as well as these business rules.
Building the ER Model
Entity : Categorization
• Fundamental/strong entity
an entity that is capable of its “own existence” -
i.e. an entity whose instances exist
notwithstanding the existence of other entities.
• Weak Entities
• Associative Entities
Building the ER Model
Weak Entity
• an entity that is not capable of “its own
existence”.
• characterised by the need to have at least one
external identifier (of another entity) as part of
its own identifier. e.g. consider “ payment” and
“ pmt_items” “ pmt_items” cannot exist without
a corresponding “ payment” instance. “pmt_id”
of “ payment” will be part of the identifier of “
pmt_items”.
Building the ER Model
Associative Entity
• a relationship translates into migration of a key
many:many relationship implies the keys migrating many
times, both ways.
• such migration leads to redundancy and many:many
relationships must therefore be resolved.
• “Associative entity” is an entity that is used to resolve a
many:many relationship.

More Related Content

PPTX
Entity Relationship Diagrams
PDF
Entity relationship diagram (erd)
PPTX
Entity Relationship Modelling
PPT
Entity relationship diagram (erd)
PPTX
ER MODEL
PPT
Entity relationship modelling
PPT
Entity Relationship Diagram
PPTX
Er model
Entity Relationship Diagrams
Entity relationship diagram (erd)
Entity Relationship Modelling
Entity relationship diagram (erd)
ER MODEL
Entity relationship modelling
Entity Relationship Diagram
Er model

What's hot (20)

PPTX
Er model ppt
PPTX
ER DIAGRAM & ER MODELING IN DBMS
PPT
Entity relationship diagram
PPTX
Presentation database about ERD
PPTX
PPT
Erd chapter 3
PPT
DBMS UNIT1
PPT
Lecture 03 data abstraction and er model
PDF
Db lec 02_new
PPTX
Data model and entity relationship
PPT
Data modeling using the entity relationship model
PPTX
Revision ch 3
PDF
Advantages and disadvantages of er model in DBMS. Types of database models ..
PPT
Special lecture er diagram
PPTX
Er model
PPTX
Database Modeling Using Entity.. Weak And Strong Entity Types
PPTX
E-R Diagram of College Management Systems
PDF
ER Diagrams Simplified
PPTX
Entityrelationshipmodel
PDF
DBMS 2 | Entity Relationship Model
Er model ppt
ER DIAGRAM & ER MODELING IN DBMS
Entity relationship diagram
Presentation database about ERD
Erd chapter 3
DBMS UNIT1
Lecture 03 data abstraction and er model
Db lec 02_new
Data model and entity relationship
Data modeling using the entity relationship model
Revision ch 3
Advantages and disadvantages of er model in DBMS. Types of database models ..
Special lecture er diagram
Er model
Database Modeling Using Entity.. Weak And Strong Entity Types
E-R Diagram of College Management Systems
ER Diagrams Simplified
Entityrelationshipmodel
DBMS 2 | Entity Relationship Model
Ad

Viewers also liked (12)

PPTX
Entity relationship model
DOCX
Introduction to office 2013
PPTX
Normalization in a Database
PDF
Entity relationship(er) model
PPTX
Entity relationship modelling - DE L300
PPTX
The effects of Social Networking upon society
PPTX
Entity Relationship Model
PPTX
Negative impacts of social networking
DOC
The effect-of-social-networking-sites
PPT
Social networking PPT
PDF
Hype vs. Reality: The AI Explainer
PDF
Study: The Future of VR, AR and Self-Driving Cars
Entity relationship model
Introduction to office 2013
Normalization in a Database
Entity relationship(er) model
Entity relationship modelling - DE L300
The effects of Social Networking upon society
Entity Relationship Model
Negative impacts of social networking
The effect-of-social-networking-sites
Social networking PPT
Hype vs. Reality: The AI Explainer
Study: The Future of VR, AR and Self-Driving Cars
Ad

Similar to Entity-Relationship Data Model (20)

PPT
Database design
PPTX
er-models.pptx
PPTX
Relation DB.pptx a powerpoint presentation
PDF
ICT DBA3 09 0710 Model Data Objects.pdf
PPTX
ER MODEL.pptx
PDF
RDBMS Unit-2.pdf Entity Relationship Diagram
PPTX
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
PPTX
E_R-Diagram (2).pptx
PDF
2 er
PPTX
SBD 05.pptxffefefeefefeefefefefefefefefe
PPTX
Database part3-
PPSX
Cn presentation on the topic called as re modelling
PPTX
UNIT 1-RELATIONAL DATA MODEL for data base subject
PDF
Advance database system(part 4)
PDF
Lecture 2 database management system.pdf
PPT
PPT
PPTX
Data Models.pptx
PPTX
entityrelationshipmodel.pptx
PPT
Unit 2 ER Model.ppterfgmefwlgmkldfsmglkdfg
Database design
er-models.pptx
Relation DB.pptx a powerpoint presentation
ICT DBA3 09 0710 Model Data Objects.pdf
ER MODEL.pptx
RDBMS Unit-2.pdf Entity Relationship Diagram
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
E_R-Diagram (2).pptx
2 er
SBD 05.pptxffefefeefefeefefefefefefefefe
Database part3-
Cn presentation on the topic called as re modelling
UNIT 1-RELATIONAL DATA MODEL for data base subject
Advance database system(part 4)
Lecture 2 database management system.pdf
Data Models.pptx
entityrelationshipmodel.pptx
Unit 2 ER Model.ppterfgmefwlgmkldfsmglkdfg

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Approach and Philosophy of On baking technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Cloud computing and distributed systems.
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Machine learning based COVID-19 study performance prediction
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Approach and Philosophy of On baking technology
Electronic commerce courselecture one. Pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Cloud computing and distributed systems.
MYSQL Presentation for SQL database connectivity
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25 Week I
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Machine learning based COVID-19 study performance prediction

Entity-Relationship Data Model

  • 2. Presentation Contents • An Introduction • Entities & Relationships • Cardinality, Degree, Existence of Relationships • Attributes and Identifiers • Building an Entity-Relationship model
  • 3. History of E-R Model An Introduction • E-R Model was proposed by Dr. Peter Chen (currently professor at Louisiana State University) • Chen’s original paper on E-R Model is the 35th most sited paper in computer science • Chen has written papers interconnecting E-R model and linguistics
  • 4. Database Life Cycle An Introduction Requirements • specification of customer/user needs/desires Design • specification of potential solution or solution approach Implementation • providing the solution Test Results • evaluations, inferences, reports, documentation Modifications • changes/additions to solution
  • 5. An Introduction The three schema approach to software engineering uses three levels of ER models that was developed. Conceptual data model Logical data model Physical data model The Conceptual Model • Conceptual model captures the global/institutional view of the data semantics. • It investigates and enumerates the various entities that participate in the business environment being modelled Conceptual Data Model
  • 6. Features of E-R Model An Introduction 1. Diagrammatic. 2. Simple but expressive. 3. Easy to map into traditional DBMS models. 4. Extensions > Extended ER Model > Entity Category Relationship Model > Enhanced ER Model
  • 7. E-R Modeling Entities & Relationships Entity-Relationship (E-R) Modeling is a conceptual modeling tool. perceives the business environment in terms of participating “entities” and the “relationship” between them. e.g. many employees work for a department
  • 8. E-R Modeling Entities & Relationships Entity is a “data object” models some object/entity in the real-world; entity type represents the set of all similar objects. identified by the nouns in the requirements specification. must have a name that is unique across the entire model and has a consistent meaning across the modelling team and the end users.
  • 9. E-R Modeling Entities & Relationships Attributes characteristics/properties of an entity, that provide descriptive details of it. every attribute must be given a name that is unique across the entity (distinct entities may have attributes with the same name). attribute names are also subject to the same rules that govern entity names (consistent meaning, documentation, etc..) EMP ID Name Address
  • 10. Types of Attributes Entities & Relationships 1.Simple and composite 2.Single-valued and multivalued 3.Null 4.Derived
  • 11. Entities & Relationships Relationship • ER models in the real-world association between two or more entities (binary, ternary relationship). • A relationship can be optional or mandatory “degree” is the number of entity sets involved in • the relationship. typically 2 (binary); other common degrees are 1 (recursive) and 3 (ternary).
  • 12. Attributes and Identifiers Simple and Composite Attributes Simple Attribute: An attribute composed of a single component with an independent existence. E.g position and salary of the Staff entity. Composite Attribute: An attribute composed of multiple components, each with an independent existence. E.g adress attribute of the branch entity that can be subdivided into street, city and postcode attributes
  • 13. Single-Valued and Multi-Valued Attributes Single-Valued Attribute: An attribute that holds a single value for each occurrence of an entity type. E.g branch No. Multi-Valued Attributes: An attribute that holds multiple values for each occurrence of an entity type. E.g telephone No. Attributes and Identifiers
  • 14. Derived Attributes Derived Attributes: An attribute that represents a value that is derivable from the value of a related attribute or set of attributes, not necessarily in the same entity type. E.g attribute duration which value is derived from the rent Start and rent Finish attributes. Attributes and Identifiers
  • 15. Cardinality, Degree, Existence of Relationship Cardinality • “Cardinality” indicates the entity occurrences (instances) participating in a relationship. • takes values as “one” or “many”. e.g. a one: many relationship indicates that for • Every occurrence of one entity, there are many related instances of the other entity. Employee Department
  • 16. Cardinality, Degree, Existence of Relationship One-to-One (1:1)
  • 17. Cardinality, Degree, Existence of Relationship One-to-Many (1:*)
  • 18. Cardinality, Degree, Existence of Relationship Many-to-Many (*:*)
  • 19. Building the ER Model • the requirements specification is the first step to any design; it captures the ‘what’ of the business environment. • also documents the “business rules” - i.e., the constraints that will apply to your database. e.g. every department must have a manager; and only one manager. • the ER model must capture the participating entities as well as these business rules.
  • 20. Building the ER Model Entity : Categorization • Fundamental/strong entity an entity that is capable of its “own existence” - i.e. an entity whose instances exist notwithstanding the existence of other entities. • Weak Entities • Associative Entities
  • 21. Building the ER Model Weak Entity • an entity that is not capable of “its own existence”. • characterised by the need to have at least one external identifier (of another entity) as part of its own identifier. e.g. consider “ payment” and “ pmt_items” “ pmt_items” cannot exist without a corresponding “ payment” instance. “pmt_id” of “ payment” will be part of the identifier of “ pmt_items”.
  • 22. Building the ER Model Associative Entity • a relationship translates into migration of a key many:many relationship implies the keys migrating many times, both ways. • such migration leads to redundancy and many:many relationships must therefore be resolved. • “Associative entity” is an entity that is used to resolve a many:many relationship.