尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
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

What's hot

Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
Inamul Hossain Imran
 
4. case study
4. case study4. case study
4. case study
khoahuy82
 
Entity Relationship Modelling
Entity Relationship ModellingEntity Relationship Modelling
Entity Relationship Modelling
Bhandari Nawaraj
 
Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)
Mudasir Qazi
 
Erd1
Erd1Erd1
RDBMS ERD
RDBMS ERDRDBMS ERD
RDBMS ERD
Sarmad Ali
 
Entity relation(1)
Entity relation(1)Entity relation(1)
Entity relation(1)
Loving Mishaa
 
E r model
E r modelE r model
E r model
santoshsaini22
 
Sameer
SameerSameer
Entity (types, attibute types)
Entity (types, attibute types)Entity (types, attibute types)
Entity (types, attibute types)
Zaheer Soomro
 

What's hot (10)

Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
 
4. case study
4. case study4. case study
4. case study
 
Entity Relationship Modelling
Entity Relationship ModellingEntity Relationship Modelling
Entity Relationship Modelling
 
Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)
 
Erd1
Erd1Erd1
Erd1
 
RDBMS ERD
RDBMS ERDRDBMS ERD
RDBMS ERD
 
Entity relation(1)
Entity relation(1)Entity relation(1)
Entity relation(1)
 
E r model
E r modelE r model
E r model
 
Sameer
SameerSameer
Sameer
 
Entity (types, attibute types)
Entity (types, attibute types)Entity (types, attibute types)
Entity (types, attibute types)
 

Viewers also liked

ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
Kabindra Koirala
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Mani
guest1e0229a
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Neil Neelesh
 
The entity relationship model
The entity relationship modelThe entity relationship model
The entity relationship model
yash patel
 
Desigining of Database - ER Model
Desigining of Database - ER ModelDesigining of Database - ER Model
Desigining of Database - ER Model
Ajay Chhimpa
 
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY  MILAN PATELCHAPTER 2 DBMS IN EASY WAY BY  MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
Shashi Patel
 
The entity relationship model
The entity relationship modelThe entity relationship model
The entity relationship model
Jane Garay
 
Chapter 3 Entity Relationship Model
Chapter 3 Entity Relationship ModelChapter 3 Entity Relationship Model
Chapter 3 Entity Relationship Model
Eddyzulham Mahluzydde
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
Haseeb
 
Erd chapter 3
Erd chapter 3Erd chapter 3
Erd chapter 3
Nargis Ehsan
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Slideshare
 
Erd practice exercises
Erd practice exercisesErd practice exercises
Erd practice exercises
Jennifer Polack
 
How to Draw an Effective ER diagram
How to Draw an Effective ER diagramHow to Draw an Effective ER diagram
How to Draw an Effective ER diagram
Tech_MX
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
koolkampus
 
Erd examples
Erd examplesErd examples
Erd examples
Pramod Redekar
 

Viewers also liked (15)

ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Mani
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
The entity relationship model
The entity relationship modelThe entity relationship model
The entity relationship model
 
Desigining of Database - ER Model
Desigining of Database - ER ModelDesigining of Database - ER Model
Desigining of Database - ER Model
 
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY  MILAN PATELCHAPTER 2 DBMS IN EASY WAY BY  MILAN PATEL
CHAPTER 2 DBMS IN EASY WAY BY MILAN PATEL
 
The entity relationship model
The entity relationship modelThe entity relationship model
The entity relationship model
 
Chapter 3 Entity Relationship Model
Chapter 3 Entity Relationship ModelChapter 3 Entity Relationship Model
Chapter 3 Entity Relationship Model
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 
Erd chapter 3
Erd chapter 3Erd chapter 3
Erd chapter 3
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
Erd practice exercises
Erd practice exercisesErd practice exercises
Erd practice exercises
 
How to Draw an Effective ER diagram
How to Draw an Effective ER diagramHow to Draw an Effective ER diagram
How to Draw an Effective ER diagram
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
Erd examples
Erd examplesErd examples
Erd examples
 

Similar to Entity relationship(er) model

Database design
Database designDatabase design
Database design
Bashir Rezaie
 
Data and functional modeling
Data and functional modelingData and functional modeling
Data and functional modeling
Slideshare
 
Lecture7.pptx
Lecture7.pptxLecture7.pptx
Lecture7.pptx
HarpreetHeer1
 
lecture2.pdf
lecture2.pdflecture2.pdf
lecture2.pdf
MuhammadFahad253
 
Cn presentation on the topic called as re modelling
Cn presentation on the topic called as re modellingCn presentation on the topic called as re modelling
Cn presentation on the topic called as re modelling
g30162363
 
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCEDATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
AqibMehmood43
 
Linked Data Best Practices and BibFrame
Linked Data Best Practices and BibFrameLinked Data Best Practices and BibFrame
Linked Data Best Practices and BibFrame
Robert Sanderson
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
Entityrelationshipmodel
Enes Bolfidan
 
Everything You Need To Know About SharePoint Social Capabilities - SPLive360
Everything You Need To Know About SharePoint Social Capabilities - SPLive360Everything You Need To Know About SharePoint Social Capabilities - SPLive360
Everything You Need To Know About SharePoint Social Capabilities - SPLive360
Richard Harbridge
 
Revision ch 3
Revision ch 3Revision ch 3
Revision ch 3
Rupali Rana
 
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
Drew Madelung
 
Source con atlanta-ppt-irina
Source con atlanta-ppt-irinaSource con atlanta-ppt-irina
Source con atlanta-ppt-irina
Irina Shamaeva
 
entityrelationshipmodel.pptx
entityrelationshipmodel.pptxentityrelationshipmodel.pptx
entityrelationshipmodel.pptx
ThangamaniR3
 
DBMS Class 3
DBMS Class 3DBMS Class 3
PHP/MySQL Programming Class Lecture 03
PHP/MySQL Programming Class Lecture 03PHP/MySQL Programming Class Lecture 03
PHP/MySQL Programming Class Lecture 03
National IT Professionals Association of Afghanistan
 
Salesforce Training Institute & Courses Pune | SFDC Training PCMC
Salesforce Training Institute & Courses Pune | SFDC Training PCMCSalesforce Training Institute & Courses Pune | SFDC Training PCMC
Salesforce Training Institute & Courses Pune | SFDC Training PCMC
victoriousdigital
 
RecSys 2015 Tutorial – Scalable Recommender Systems: Where Machine Learning...
 RecSys 2015 Tutorial – Scalable Recommender Systems: Where Machine Learning... RecSys 2015 Tutorial – Scalable Recommender Systems: Where Machine Learning...
RecSys 2015 Tutorial – Scalable Recommender Systems: Where Machine Learning...
S. Diana Hu
 
RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...
RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...
RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...
Joaquin Delgado PhD.
 
linked.art Data Model Walkthrough
linked.art Data Model Walkthroughlinked.art Data Model Walkthrough
linked.art Data Model Walkthrough
Robert Sanderson
 
What you need to know about seo for Rocks Digital Conference by Barry Schwartz
What you need to know about seo for Rocks Digital Conference by Barry SchwartzWhat you need to know about seo for Rocks Digital Conference by Barry Schwartz
What you need to know about seo for Rocks Digital Conference by Barry Schwartz
Barry Schwartz
 

Similar to Entity relationship(er) model (20)

Database design
Database designDatabase design
Database design
 
Data and functional modeling
Data and functional modelingData and functional modeling
Data and functional modeling
 
Lecture7.pptx
Lecture7.pptxLecture7.pptx
Lecture7.pptx
 
lecture2.pdf
lecture2.pdflecture2.pdf
lecture2.pdf
 
Cn presentation on the topic called as re modelling
Cn presentation on the topic called as re modellingCn presentation on the topic called as re modelling
Cn presentation on the topic called as re modelling
 
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCEDATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
DATA BASE DESIGN PROCESS CHAPTER NO 3 COMPUTER SCIENCE
 
Linked Data Best Practices and BibFrame
Linked Data Best Practices and BibFrameLinked Data Best Practices and BibFrame
Linked Data Best Practices and BibFrame
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
Entityrelationshipmodel
 
Everything You Need To Know About SharePoint Social Capabilities - SPLive360
Everything You Need To Know About SharePoint Social Capabilities - SPLive360Everything You Need To Know About SharePoint Social Capabilities - SPLive360
Everything You Need To Know About SharePoint Social Capabilities - SPLive360
 
Revision ch 3
Revision ch 3Revision ch 3
Revision ch 3
 
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
Essentials for the SharePoint Power User - SPTechCon San Francisco 2016
 
Source con atlanta-ppt-irina
Source con atlanta-ppt-irinaSource con atlanta-ppt-irina
Source con atlanta-ppt-irina
 
entityrelationshipmodel.pptx
entityrelationshipmodel.pptxentityrelationshipmodel.pptx
entityrelationshipmodel.pptx
 
DBMS Class 3
DBMS Class 3DBMS Class 3
DBMS Class 3
 
PHP/MySQL Programming Class Lecture 03
PHP/MySQL Programming Class Lecture 03PHP/MySQL Programming Class Lecture 03
PHP/MySQL Programming Class Lecture 03
 
Salesforce Training Institute & Courses Pune | SFDC Training PCMC
Salesforce Training Institute & Courses Pune | SFDC Training PCMCSalesforce Training Institute & Courses Pune | SFDC Training PCMC
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... RecSys 2015 Tutorial – Scalable Recommender Systems: Where Machine Learning...
RecSys 2015 Tutorial – Scalable Recommender Systems: Where Machine Learning...
 
RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...
RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...
RecSys 2015 Tutorial - Scalable Recommender Systems: Where Machine Learning m...
 
linked.art Data Model Walkthrough
linked.art Data Model Walkthroughlinked.art Data Model Walkthrough
linked.art Data Model Walkthrough
 
What you need to know about seo for Rocks Digital Conference by Barry Schwartz
What you need to know about seo for Rocks Digital Conference by Barry SchwartzWhat you need to know about seo for Rocks Digital Conference by Barry Schwartz
What you need to know about seo for Rocks Digital Conference by Barry Schwartz
 

More from Rahul Khanwani

Online examination system
Online examination systemOnline examination system
Online examination system
Rahul Khanwani
 
Power goggling - To Search Easier On Google
Power goggling - To Search Easier On GooglePower goggling - To Search Easier On Google
Power goggling - To Search Easier On Google
Rahul Khanwani
 
Cryptography
CryptographyCryptography
Cryptography
Rahul Khanwani
 
Data compression huffman coding algoritham
Data compression huffman coding algorithamData compression huffman coding algoritham
Data compression huffman coding algoritham
Rahul Khanwani
 
Data compression introduction
Data compression introductionData compression introduction
Data compression introduction
Rahul Khanwani
 
Virtualization
VirtualizationVirtualization
Virtualization
Rahul Khanwani
 
Google glass
Google glassGoogle glass
Google glass
Rahul Khanwani
 

More from Rahul Khanwani (7)

Online examination system
Online examination systemOnline examination system
Online examination system
 
Power goggling - To Search Easier On Google
Power goggling - To Search Easier On GooglePower goggling - To Search Easier On Google
Power goggling - To Search Easier On Google
 
Cryptography
CryptographyCryptography
Cryptography
 
Data compression huffman coding algoritham
Data compression huffman coding algorithamData compression huffman coding algoritham
Data compression huffman coding algoritham
 
Data compression introduction
Data compression introductionData compression introduction
Data compression introduction
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Google glass
Google glassGoogle glass
Google glass
 

Recently uploaded

Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
Ortus Solutions, Corp
 
From NCSA to the National Research Platform
From NCSA to the National Research PlatformFrom NCSA to the National Research Platform
From NCSA to the National Research Platform
Larry Smarr
 
An Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise IntegrationAn Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise Integration
Safe Software
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
ScyllaDB
 
Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2
DianaGray10
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
ThousandEyes
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
Knoldus Inc.
 
Day 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data ManipulationDay 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data Manipulation
UiPathCommunity
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
ScyllaDB
 
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc
 
Cyber Recovery Wargame
Cyber Recovery WargameCyber Recovery Wargame
Cyber Recovery Wargame
Databarracks
 
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time MLMongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
ScyllaDB
 
Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0
Neeraj Kumar Singh
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
manji sharman06
 
Multivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back againMultivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back again
Kieran Kunhya
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB
 
Real-Time Persisted Events at Supercell
Real-Time Persisted Events at  SupercellReal-Time Persisted Events at  Supercell
Real-Time Persisted Events at Supercell
ScyllaDB
 

Recently uploaded (20)

Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
 
From NCSA to the National Research Platform
From NCSA to the National Research PlatformFrom NCSA to the National Research Platform
From NCSA to the National Research Platform
 
An Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise IntegrationAn Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise Integration
 
ScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking ReplicationScyllaDB Tablets: Rethinking Replication
ScyllaDB Tablets: Rethinking Replication
 
Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
 
Day 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data ManipulationDay 4 - Excel Automation and Data Manipulation
Day 4 - Excel Automation and Data Manipulation
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
 
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
TrustArc Webinar - Your Guide for Smooth Cross-Border Data Transfers and Glob...
 
Cyber Recovery Wargame
Cyber Recovery WargameCyber Recovery Wargame
Cyber Recovery Wargame
 
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time MLMongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
MongoDB vs ScyllaDB: Tractian’s Experience with Real-Time ML
 
Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
 
Multivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back againMultivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back again
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
 
Real-Time Persisted Events at Supercell
Real-Time Persisted Events at  SupercellReal-Time Persisted Events at  Supercell
Real-Time Persisted Events at Supercell
 

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
  翻译: