SlideShare a Scribd company logo
Entity Relationship Model
Rahul Khanvani
BinaryBuzz.Wordpress.com
Presentation on:
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• The approach of
concentrating on database
structures constraints
during database design we
present the model concept of
Entity Relationship (ER)
Model.
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• Frequently used in
conceptual design of
database applications.
• Diagrammatic notation
associated with ER model
is called ER diagrams
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
1) Requirement
collection &
analysis
1) Data
Requirements.
2) Functional
Requirements.
3) User Defined
Operations-
Transections.Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
1) Conceptual
Schema/Design
1) Include Implementation
details.
2) Implementation Of
Database
1) Logical Design.
3) Physical Design
1) Internal Storage
Structure.Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• Entities:
▫ Entities Specifies
Individual Items in
an Application
 Person
 Picture
 Thing
 Concept
 Process
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
•Relationship:
▫A relationship is
defined as an
association
among Entities.
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
•Attributes:
▫ Each Entity has
specific characteristic
that is defined by
attribute.
Student Entity has
Name
Address
Result as attributes.
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• The basic object to the ER
Model
• Which is a thing in real
world
• It may be an Object With
▫ Physical Existence
 Person , Car , House ,
Employee.
▫ Conceptual Existence
 Company , Job , Course.Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
E-R Diagram
Relationship
Entity
Attributes
• Every Entity has an
Attribute- particular
Property
To describe It.
• For Example
EMPLOYEE Entity
Described by
Employee’s
▫ Name ,Address
▫ Salary,JobRahul Khanvani For More Visit BinaryBuzz.Wordpress.com
1. Composite & Single
Attributes
2. Single valued &
Multi valued
Attributes
3. Stored & Derived
Attributes
4. Null valued
Attributes &
Complex AttributesRahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Composite & Simple Attribute
• Composite Attribute Are Those which can
be divided into smaller subparts which
represent more attributes with independent
meaning.
▫ Employee address divided into street address
,city , state & zip(pin).
• Attributes that are not divisible
are called simple Attributes.
Composite & Simple Attribute
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Address
Street
Add
Street no
Apartment
name
Apartment
no
city pin state
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Single Valued & Multi valued
Attributes
•An Attribute has a
single value for
particular entity is
called single valued
Attribute
▫ Phone no Of employee
▫ Age of employee.
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• If an Attribute can have set of values
for the same entity is known as Multi-
valued Attribute.
• For Example
▫ College Degree
▫ One person may not have degree,
another may have one , A third person
may have two.
▫ So at that time Attribute Should be
Multi-Valued.
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Degree
S.S.C
H.S.C
F.Y
S.Y
T.YRahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Stored & Derived Attribute
• An attribute which is
derivable from another
Attribute is called derived
attribute.
▫ Age is derived from Birth date.
• Where the derived attributes
derivable from the base
attribute so the base attribute
is stored attribute.
Stored & Derived Attribute
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Current
Date
Birth
date
Age
Stored
Attribute
Derived
Attribute
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• When a particular entity set have any applicable
value for an attribute so it considered as null
value attribute.
▫ Fax No.
▫ Tele. No.
• Complex Attribute
▫ Complex attributes are nothing but combination
of composite and multi value attributes.
Null Value & Complex Attribute
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• {Phone(areacode,P
honeno)}
Address_
phone
• (Number ,
• street,
• apartment_number)
city , state
,zip))
Address(
Street
Address
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Entity types & entity Sets
• An entity type defines a collection or set of
entities that have same attributes.
• Entity types that do not have key attributes of
their own are called weak entity.
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Name
Ram
Om
Age
25
37
Salary
20000
30000
Entity Type
Entity
Set
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• An important constraint on entity of
an entity type in the key or
uniqueness constraint.
• Hose values are distinct for each
individual entity in entity set.
• Used to identify each entity Uniquely
Called Key Attribute.
▫ For Example
 Employee Number
Key attributes
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Value Sets(Domains)
of attributes
• Each Simple attribute of an entity type is
associated with the value set which
specifies set of values Assigned to the
Attributes.
▫ Employee salary-Numeric Value Set
▫ Employee Name-String/Char Value Set
• Value set are not displayed in E-R
Diagram
• Specified as Basic data-type Available in
most programming language.Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• Whenever an attribute one entity type
refers to another entity type Is
indicates the relation between one
entity to another.
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• One To One(1:1) :
• One To Many(1:M) :
• Many To Many(M:N)
Relationship Types
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• The One To One relationship between entity set
indicates that for each entity there in one most
entity associated with it.
▫ For example
▫ One department has only one Manager.
One To One Relationship
Manager DepartmentHas
11
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• The One To Many relationship between entity
set indicates that for each entity there is no of
entities associated with it.
▫ For example
▫ One employee has No Of employees.
One To Many Relationship
Manager EmployeeHas
M1
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
• The Many To Many relationship between entity
set indicates that There is no restrictions Entities
have no of entity sets associated with it.
▫ For example
▫ One employee has No Of employees.
Many To Many Relationship
Employee ProjectHas
NM
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
Thank You
Prepared By…
Rahul Khanwani..
Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com

More Related Content

PDF
Er diagram practical examples
PDF
RDBMS ERD Examples
PPT
Dbms ppt
PPTX
Presentation database about ERD
PPTX
13. case study
PDF
Entity relationship diagram (erd)
PPT
Entity relationship diagram (erd)
Er diagram practical examples
RDBMS ERD Examples
Dbms ppt
Presentation database about ERD
13. case study
Entity relationship diagram (erd)
Entity relationship diagram (erd)

What's hot (10)

DOCX
Entity relationship diagram (erd)
PPTX
4. case study
PPTX
Entity Relationship Modelling
PPTX
Database - Entity Relationship Diagram (ERD)
PDF
RDBMS ERD
PPTX
Entity relation(1)
PPTX
E r model
PPT
PPTX
Entity (types, attibute types)
Entity relationship diagram (erd)
4. case study
Entity Relationship Modelling
Database - Entity Relationship Diagram (ERD)
RDBMS ERD
Entity relation(1)
E r model
Entity (types, attibute types)
Ad

Viewers also liked (15)

ODP
ER Model in DBMS
PPT
Er Model Nandha&Mani
PPT
Entity Relationship Model
PPT
The entity relationship model
PPT
Desigining of Database - ER Model
PPT
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
PPTX
The entity relationship model
PDF
Chapter 3 Entity Relationship Model
PPT
Entity relationship diagram
PPT
Erd chapter 3
PPTX
Entity Relationship Model
PPTX
Erd practice exercises
PPTX
How to Draw an Effective ER diagram
PPT
2. Entity Relationship Model in DBMS
PPT
Erd examples
ER Model in DBMS
Er Model Nandha&Mani
Entity Relationship Model
The entity relationship model
Desigining of Database - ER Model
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
The entity relationship model
Chapter 3 Entity Relationship Model
Entity relationship diagram
Erd chapter 3
Entity Relationship Model
Erd practice exercises
How to Draw an Effective ER diagram
2. Entity Relationship Model in DBMS
Erd examples
Ad

Similar to Entity relationship(er) model (20)

PPTX
Database design
PPTX
Data and functional modeling
PPTX
Unit 1-Data Modeling using Entity Relationship (E-R) Diagram.pptx
PPTX
Lecture7.pptx
PDF
lecture2.pdf
PPSX
Cn presentation on the topic called as re modelling
PPTX
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
PDF
Linked Data Best Practices and BibFrame
PPTX
SBD 05.pptxffefefeefefeefefefefefefefefe
PPTX
Entityrelationshipmodel
PPT
Everything You Need To Know About SharePoint Social Capabilities - SPLive360
PPTX
Revision ch 3
PPTX
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
PPT
Source con atlanta-ppt-irina
PPTX
entityrelationshipmodel.pptx
PPTX
PDF
PHP/MySQL Programming Class Lecture 03
PPTX
Salesforce Training Institute & Courses Pune | SFDC Training PCMC
PPTX
RecSys 2015 Tutorial – Scalable Recommender Systems: Where Machine Learning...
PPTX
RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...
Database design
Data and functional modeling
Unit 1-Data Modeling using Entity Relationship (E-R) Diagram.pptx
Lecture7.pptx
lecture2.pdf
Cn presentation on the topic called as re modelling
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
Linked Data Best Practices and BibFrame
SBD 05.pptxffefefeefefeefefefefefefefefe
Entityrelationshipmodel
Everything You Need To Know About SharePoint Social Capabilities - SPLive360
Revision ch 3
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
Source con atlanta-ppt-irina
entityrelationshipmodel.pptx
PHP/MySQL Programming Class Lecture 03
Salesforce Training Institute & Courses Pune | SFDC Training PCMC
RecSys 2015 Tutorial – Scalable Recommender Systems: Where Machine Learning...
RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...

More from Rahul Khanwani (7)

PDF
Online examination system
PPT
Power goggling - To Search Easier On Google
PDF
Cryptography
PDF
Data compression huffman coding algoritham
PDF
Data compression introduction
PDF
Virtualization
PDF
Google glass
Online examination system
Power goggling - To Search Easier On Google
Cryptography
Data compression huffman coding algoritham
Data compression introduction
Virtualization
Google glass

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
project resource management chapter-09.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Hybrid model detection and classification of lung cancer
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
August Patch Tuesday
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
NewMind AI Weekly Chronicles - August'25-Week II
project resource management chapter-09.pdf
A comparative study of natural language inference in Swahili using monolingua...
Group 1 Presentation -Planning and Decision Making .pptx
Hybrid model detection and classification of lung cancer
Assigned Numbers - 2025 - Bluetooth® Document
O2C Customer Invoices to Receipt V15A.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
observCloud-Native Containerability and monitoring.pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Hindi spoken digit analysis for native and non-native speakers
TLE Review Electricity (Electricity).pptx
Getting started with AI Agents and Multi-Agent Systems
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
August Patch Tuesday
NewMind AI Weekly Chronicles – August ’25 Week III
Chapter 5: Probability Theory and Statistics
Final SEM Unit 1 for mit wpu at pune .pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...

Entity relationship(er) model

  • 1. Entity Relationship Model Rahul Khanvani BinaryBuzz.Wordpress.com Presentation on: Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 2. • The approach of concentrating on database structures constraints during database design we present the model concept of Entity Relationship (ER) Model. Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 3. • Frequently used in conceptual design of database applications. • Diagrammatic notation associated with ER model is called ER diagrams Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 4. 1) Requirement collection & analysis 1) Data Requirements. 2) Functional Requirements. 3) User Defined Operations- Transections.Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 5. 1) Conceptual Schema/Design 1) Include Implementation details. 2) Implementation Of Database 1) Logical Design. 3) Physical Design 1) Internal Storage Structure.Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 6. • Entities: ▫ Entities Specifies Individual Items in an Application  Person  Picture  Thing  Concept  Process Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 7. •Relationship: ▫A relationship is defined as an association among Entities. Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 8. •Attributes: ▫ Each Entity has specific characteristic that is defined by attribute. Student Entity has Name Address Result as attributes. Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 9. • The basic object to the ER Model • Which is a thing in real world • It may be an Object With ▫ Physical Existence  Person , Car , House , Employee. ▫ Conceptual Existence  Company , Job , Course.Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 10. E-R Diagram Relationship Entity Attributes • Every Entity has an Attribute- particular Property To describe It. • For Example EMPLOYEE Entity Described by Employee’s ▫ Name ,Address ▫ Salary,JobRahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 11. 1. Composite & Single Attributes 2. Single valued & Multi valued Attributes 3. Stored & Derived Attributes 4. Null valued Attributes & Complex AttributesRahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 12. Composite & Simple Attribute • Composite Attribute Are Those which can be divided into smaller subparts which represent more attributes with independent meaning. ▫ Employee address divided into street address ,city , state & zip(pin). • Attributes that are not divisible are called simple Attributes. Composite & Simple Attribute Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 13. Address Street Add Street no Apartment name Apartment no city pin state Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 14. Single Valued & Multi valued Attributes •An Attribute has a single value for particular entity is called single valued Attribute ▫ Phone no Of employee ▫ Age of employee. Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 15. • If an Attribute can have set of values for the same entity is known as Multi- valued Attribute. • For Example ▫ College Degree ▫ One person may not have degree, another may have one , A third person may have two. ▫ So at that time Attribute Should be Multi-Valued. Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 16. Degree S.S.C H.S.C F.Y S.Y T.YRahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 17. Stored & Derived Attribute • An attribute which is derivable from another Attribute is called derived attribute. ▫ Age is derived from Birth date. • Where the derived attributes derivable from the base attribute so the base attribute is stored attribute. Stored & Derived Attribute Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 19. • When a particular entity set have any applicable value for an attribute so it considered as null value attribute. ▫ Fax No. ▫ Tele. No. • Complex Attribute ▫ Complex attributes are nothing but combination of composite and multi value attributes. Null Value & Complex Attribute Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 20. • {Phone(areacode,P honeno)} Address_ phone • (Number , • street, • apartment_number) city , state ,zip)) Address( Street Address Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 21. Entity types & entity Sets • An entity type defines a collection or set of entities that have same attributes. • Entity types that do not have key attributes of their own are called weak entity. Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 23. • An important constraint on entity of an entity type in the key or uniqueness constraint. • Hose values are distinct for each individual entity in entity set. • Used to identify each entity Uniquely Called Key Attribute. ▫ For Example  Employee Number Key attributes Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 24. Value Sets(Domains) of attributes • Each Simple attribute of an entity type is associated with the value set which specifies set of values Assigned to the Attributes. ▫ Employee salary-Numeric Value Set ▫ Employee Name-String/Char Value Set • Value set are not displayed in E-R Diagram • Specified as Basic data-type Available in most programming language.Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 25. • Whenever an attribute one entity type refers to another entity type Is indicates the relation between one entity to another. Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 26. • One To One(1:1) : • One To Many(1:M) : • Many To Many(M:N) Relationship Types Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 27. • The One To One relationship between entity set indicates that for each entity there in one most entity associated with it. ▫ For example ▫ One department has only one Manager. One To One Relationship Manager DepartmentHas 11 Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 28. • The One To Many relationship between entity set indicates that for each entity there is no of entities associated with it. ▫ For example ▫ One employee has No Of employees. One To Many Relationship Manager EmployeeHas M1 Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 29. • The Many To Many relationship between entity set indicates that There is no restrictions Entities have no of entity sets associated with it. ▫ For example ▫ One employee has No Of employees. Many To Many Relationship Employee ProjectHas NM Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com
  • 30. Thank You Prepared By… Rahul Khanwani.. Rahul Khanvani For More Visit BinaryBuzz.Wordpress.com