SlideShare une entreprise Scribd logo
1  sur  15
Entity Relationship
Diagrams
www.myassignmenthelp.net
Entity-Relationship Diagram
• Entity-Relationship (E-R) Diagram
– A detailed or logical representation of the
entities, associations as well as data
components to have an organization or
maybe small business.
• Notation works by using several key
constructs.
– Data entities
– Relationships
– Attributes
www.myassignmenthelp.net
Entity
• An entity can be a enterprise object which
signifies an organization, or even group of
data.
• A person, place, object, event or even idea within the
user environment about which the business wants in
order to maintain data
• Symbolized with a rectangle in E-R diagrams
• Notation:
www.myassignmenthelp.net
Attribute
• An attribute is a sub-group associated with
information within an entity.
• A named property or even attribute of an entity that is
associated to an organization
• Notation:
www.myassignmenthelp.net
ER Diagram Notations
• Week entity
Relationship
Multivalued
attribute
Key attribute
Strong Weak
Relationship
www.myassignmenthelp.net
Example:
carry
books indexwrote subjectauthor
s
SS#
name
title
librariesaddress
isbn
Subject
matter
www.myassignmenthelp.net
Binary Relationship
The binary relationship between entity set A as
well as B may be:
• 1:1 Women marrying Men (function)
• N:1 Children having mothers (function)
marry men
having mothers
1n
A B
A B
www.myassignmenthelp.net
Cont….
• 1:N Mothers having children (inverse
function)
• M:N Students enrolled in a class
having children
n1
A B
enrolled classes A B
www.myassignmenthelp.net
Key
• Identification associated with any kind of data
type.
• The various kinds of KEY attribute are:
– Super Key
– Candidate Key
– Primary Key
– Foreign Key
– Composite Key
– Alternate Key
– Secondary Key
www.myassignmenthelp.net
Super Key:
• An attribute as well as combining attribute that is used to
identify the records uniquely. A table can have a lot of
Super Keys.
– For example:
(ID), (ID,Name), (ID,Address), (ID,Department_ID),
(ID,Salary),
The like because any kind of mixture which could
determine the actual records uniquely would have been
a Super Key.
www.myassignmenthelp.net
Candidate Key:
• Is a column in a table that is able to be a primary key.
– For example:
1)ID
2)Name, address
We have only two Candidate Keys used to determine the
actual records from the table uniquely. “ID” Key may
determine the actual record uniquely and combined of
Name and Address can identify the record uniquely,
however nor "Name" neither "Address" may be used
to determine the actual "records uniquely“ as it might
be possible that we have two employees with similar name
or two employees from the same house.
www.myassignmenthelp.net
Primary Key:
• The attribute or as well as combined attributes
that uniquely define the record.
• For example:
Database custom may use among the Candidate Key
like Primary Key. In this instance we now have “ID” as
well as “Name, Address” as Candidate Key, Consider
“ID” Key as a Primary Key as the other key is the
combination of more than one attribute.
www.myassignmenthelp.net
Foreign Key:
• An attribute or combined attribute in a table whose value
match a primary key in another table.
 Composite Key:
A primary key which includes several attributes is called
 For example: if we have used “Name, Address” as a
Primary Key then it will be our Composite Key.
www.myassignmenthelp.net
Alternate Key:
 The candidate keys that is not the main primary key is
called an alternate key.
 For example: “Name, Address” as it is the only other
Candidate Key that is not a Primary Key.
 Secondary Key:
Alternative associated with primary key.
 For example: Name, Address, Salary, Department_ID
etc. as they can determine the records but they might
not be unique.
www.myassignmenthelp.net
For getting help with any
database related assignments
Contact:
http://www.myassignmenthelp.net/databa
se-system-assignment-help.php
www.myassignmenthelp.net

Contenu connexe

Tendances

2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
koolkampus
 
RELATIONSHIP IN DBMS.pptx
RELATIONSHIP IN DBMS.pptxRELATIONSHIP IN DBMS.pptx
RELATIONSHIP IN DBMS.pptx
KAnurag2
 
entity-relationship-diagram-chen-&-crow -model.ppt
entity-relationship-diagram-chen-&-crow -model.pptentity-relationship-diagram-chen-&-crow -model.ppt
entity-relationship-diagram-chen-&-crow -model.ppt
IRWANBINISMAILKPMGur1
 
Er & eer to relational mapping
Er & eer to relational mappingEr & eer to relational mapping
Er & eer to relational mapping
saurabhshertukde
 
Lecture 06 relational algebra and calculus
Lecture 06 relational algebra and calculusLecture 06 relational algebra and calculus
Lecture 06 relational algebra and calculus
emailharmeet
 
ER DIAGRAM TO RELATIONAL SCHEMA MAPPING
ER DIAGRAM TO RELATIONAL SCHEMA MAPPING ER DIAGRAM TO RELATIONAL SCHEMA MAPPING
ER DIAGRAM TO RELATIONAL SCHEMA MAPPING
ARADHYAYANA
 

Tendances (20)

Database : Relational Data Model
Database : Relational Data ModelDatabase : Relational Data Model
Database : Relational Data Model
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
SQL - RDBMS Concepts
SQL - RDBMS ConceptsSQL - RDBMS Concepts
SQL - RDBMS Concepts
 
Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)Database - Entity Relationship Diagram (ERD)
Database - Entity Relationship Diagram (ERD)
 
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
The Relational Data Model and Relational Database Constraints Ch5 (Navathe 4t...
 
RELATIONSHIP IN DBMS.pptx
RELATIONSHIP IN DBMS.pptxRELATIONSHIP IN DBMS.pptx
RELATIONSHIP IN DBMS.pptx
 
enhanced er diagram
enhanced er diagramenhanced er diagram
enhanced er diagram
 
Entity Relationship Modelling
Entity Relationship ModellingEntity Relationship Modelling
Entity Relationship Modelling
 
Ppt of dbms e r features
Ppt of dbms e r featuresPpt of dbms e r features
Ppt of dbms e r features
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
The Relational Database Model
The Relational Database ModelThe Relational Database Model
The Relational Database Model
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
 
DBMS PPT
DBMS PPTDBMS PPT
DBMS PPT
 
Er diagram
Er diagramEr diagram
Er diagram
 
Xml presentation
Xml presentationXml presentation
Xml presentation
 
entity-relationship-diagram-chen-&-crow -model.ppt
entity-relationship-diagram-chen-&-crow -model.pptentity-relationship-diagram-chen-&-crow -model.ppt
entity-relationship-diagram-chen-&-crow -model.ppt
 
Er & eer to relational mapping
Er & eer to relational mappingEr & eer to relational mapping
Er & eer to relational mapping
 
Lecture 06 relational algebra and calculus
Lecture 06 relational algebra and calculusLecture 06 relational algebra and calculus
Lecture 06 relational algebra and calculus
 
ER DIAGRAM TO RELATIONAL SCHEMA MAPPING
ER DIAGRAM TO RELATIONAL SCHEMA MAPPING ER DIAGRAM TO RELATIONAL SCHEMA MAPPING
ER DIAGRAM TO RELATIONAL SCHEMA MAPPING
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 

En vedette

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
 
Functional dependencies and normalization for relational databases
Functional dependencies and normalization for relational databasesFunctional dependencies and normalization for relational databases
Functional dependencies and normalization for relational databases
Jafar Nesargi
 
C:\documents and settings\student\desktop\swaroop uml
C:\documents and settings\student\desktop\swaroop umlC:\documents and settings\student\desktop\swaroop uml
C:\documents and settings\student\desktop\swaroop uml
satyaiswaroop
 
Three state transition diagram flow chart slides power point
Three state transition diagram flow chart slides power pointThree state transition diagram flow chart slides power point
Three state transition diagram flow chart slides power point
SlideTeam.net
 
Entity Relationship Diagram presentation
Entity Relationship Diagram presentationEntity Relationship Diagram presentation
Entity Relationship Diagram presentation
Sopov Chan
 

En vedette (20)

Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Entity Relationship Diagram Templates by Creately
Entity Relationship Diagram Templates by CreatelyEntity Relationship Diagram Templates by Creately
Entity Relationship Diagram Templates by Creately
 
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
 
DBMS
DBMSDBMS
DBMS
 
데이터베이스 모델링
데이터베이스 모델링데이터베이스 모델링
데이터베이스 모델링
 
Mysql database
Mysql databaseMysql database
Mysql database
 
03 fsm how_toimplementai_state_20161006_jintaeks
03 fsm how_toimplementai_state_20161006_jintaeks03 fsm how_toimplementai_state_20161006_jintaeks
03 fsm how_toimplementai_state_20161006_jintaeks
 
Ch02 3133
Ch02 3133Ch02 3133
Ch02 3133
 
Start Smarter with a Concept Diagram
Start Smarter with a Concept DiagramStart Smarter with a Concept Diagram
Start Smarter with a Concept Diagram
 
E r diagram
E r diagramE r diagram
E r diagram
 
Umar Erd
Umar ErdUmar Erd
Umar Erd
 
Erd
ErdErd
Erd
 
DBMS Keys
DBMS KeysDBMS Keys
DBMS Keys
 
Functional dependencies and normalization for relational databases
Functional dependencies and normalization for relational databasesFunctional dependencies and normalization for relational databases
Functional dependencies and normalization for relational databases
 
C:\documents and settings\student\desktop\swaroop uml
C:\documents and settings\student\desktop\swaroop umlC:\documents and settings\student\desktop\swaroop uml
C:\documents and settings\student\desktop\swaroop uml
 
TD-635-10-PSBO
TD-635-10-PSBOTD-635-10-PSBO
TD-635-10-PSBO
 
Three state transition diagram flow chart slides power point
Three state transition diagram flow chart slides power pointThree state transition diagram flow chart slides power point
Three state transition diagram flow chart slides power point
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagrams
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 
Entity Relationship Diagram presentation
Entity Relationship Diagram presentationEntity Relationship Diagram presentation
Entity Relationship Diagram presentation
 

Similaire à Entity relationship diagram for dummies

Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
Jafar Nesargi
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
JasmineMichael1
 

Similaire à Entity relationship diagram for dummies (20)

Sameer
SameerSameer
Sameer
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
Entityrelationshipmodel
 
Data Models.pptx
Data Models.pptxData Models.pptx
Data Models.pptx
 
Revision ch 3
Revision ch 3Revision ch 3
Revision ch 3
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
 
ER Digramms by Harshal wagh
ER Digramms by Harshal waghER Digramms by Harshal wagh
ER Digramms by Harshal wagh
 
Use analyzed requirements in the design of database.pptx
Use analyzed requirements in the design of database.pptxUse analyzed requirements in the design of database.pptx
Use analyzed requirements in the design of database.pptx
 
Chapter3
Chapter3Chapter3
Chapter3
 
Chapter3
Chapter3Chapter3
Chapter3
 
rdbmsdol.pptx
rdbmsdol.pptxrdbmsdol.pptx
rdbmsdol.pptx
 
rdbmsdol.pptx
rdbmsdol.pptxrdbmsdol.pptx
rdbmsdol.pptx
 
Unit 2-Data Modeling.pdf
Unit 2-Data Modeling.pdfUnit 2-Data Modeling.pdf
Unit 2-Data Modeling.pdf
 
27 fcs157al3
27 fcs157al327 fcs157al3
27 fcs157al3
 
er-models.pptx
er-models.pptxer-models.pptx
er-models.pptx
 
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptxDATA MODEL PRESENTATION UNIT I-BCA I.pptx
DATA MODEL PRESENTATION UNIT I-BCA I.pptx
 
Basic concepts of Data and Databases
Basic concepts of Data and Databases Basic concepts of Data and Databases
Basic concepts of Data and Databases
 
Database design
Database designDatabase design
Database design
 
3. Chapter Three.pdf
3. Chapter Three.pdf3. Chapter Three.pdf
3. Chapter Three.pdf
 
entityrelationshipmodel.pptx
entityrelationshipmodel.pptxentityrelationshipmodel.pptx
entityrelationshipmodel.pptx
 
Day 1 SQL.pptx
Day 1 SQL.pptxDay 1 SQL.pptx
Day 1 SQL.pptx
 

Plus de www.myassignmenthelp.net

Plus de www.myassignmenthelp.net (20)

Programming assignment help by myassignmenthelp
Programming assignment help by myassignmenthelpProgramming assignment help by myassignmenthelp
Programming assignment help by myassignmenthelp
 
Artificial intelligence : what it is
Artificial intelligence : what it isArtificial intelligence : what it is
Artificial intelligence : what it is
 
natural language processing help at myassignmenthelp.net
natural language processing  help at myassignmenthelp.netnatural language processing  help at myassignmenthelp.net
natural language processing help at myassignmenthelp.net
 
Python assignment help
Python assignment helpPython assignment help
Python assignment help
 
Lecture8 classifiers ldc_rules
Lecture8 classifiers ldc_rulesLecture8 classifiers ldc_rules
Lecture8 classifiers ldc_rules
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Uml assignment help
Uml assignment helpUml assignment help
Uml assignment help
 
Entity relationship-diagrams
Entity relationship-diagramsEntity relationship-diagrams
Entity relationship-diagrams
 
Programming assignment-help at myassignmenthelp.net
Programming assignment-help at myassignmenthelp.netProgramming assignment-help at myassignmenthelp.net
Programming assignment-help at myassignmenthelp.net
 
Programming assignment help
Programming assignment helpProgramming assignment help
Programming assignment help
 
How to write effective case study
How to write effective case studyHow to write effective case study
How to write effective case study
 
Critical path method example by myassignmenthelp
Critical path method example by myassignmenthelpCritical path method example by myassignmenthelp
Critical path method example by myassignmenthelp
 
Nursing ppt by myassignmenthelp.net
Nursing ppt by myassignmenthelp.netNursing ppt by myassignmenthelp.net
Nursing ppt by myassignmenthelp.net
 
Energy efficiency of qantas by myassignmenthelp
Energy efficiency of qantas by myassignmenthelpEnergy efficiency of qantas by myassignmenthelp
Energy efficiency of qantas by myassignmenthelp
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 
Learn ActionScript programming myassignmenthelp.net
Learn ActionScript programming myassignmenthelp.netLearn ActionScript programming myassignmenthelp.net
Learn ActionScript programming myassignmenthelp.net
 
Learn Basics of chemistry myassignmenthelp.net
Learn Basics of chemistry myassignmenthelp.netLearn Basics of chemistry myassignmenthelp.net
Learn Basics of chemistry myassignmenthelp.net
 
Hysys help only at myassignmenthelp.net
Hysys help only at myassignmenthelp.netHysys help only at myassignmenthelp.net
Hysys help only at myassignmenthelp.net
 
Materials Flux Analysis @myassignmenthelp.net
Materials Flux Analysis  @myassignmenthelp.netMaterials Flux Analysis  @myassignmenthelp.net
Materials Flux Analysis @myassignmenthelp.net
 
Aspect-Oriented Software Development with Use Cases
Aspect-Oriented Software Development with Use CasesAspect-Oriented Software Development with Use Cases
Aspect-Oriented Software Development with Use Cases
 

Dernier

%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Dernier (20)

WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 

Entity relationship diagram for dummies

  • 2. Entity-Relationship Diagram • Entity-Relationship (E-R) Diagram – A detailed or logical representation of the entities, associations as well as data components to have an organization or maybe small business. • Notation works by using several key constructs. – Data entities – Relationships – Attributes www.myassignmenthelp.net
  • 3. Entity • An entity can be a enterprise object which signifies an organization, or even group of data. • A person, place, object, event or even idea within the user environment about which the business wants in order to maintain data • Symbolized with a rectangle in E-R diagrams • Notation: www.myassignmenthelp.net
  • 4. Attribute • An attribute is a sub-group associated with information within an entity. • A named property or even attribute of an entity that is associated to an organization • Notation: www.myassignmenthelp.net
  • 5. ER Diagram Notations • Week entity Relationship Multivalued attribute Key attribute Strong Weak Relationship www.myassignmenthelp.net
  • 7. Binary Relationship The binary relationship between entity set A as well as B may be: • 1:1 Women marrying Men (function) • N:1 Children having mothers (function) marry men having mothers 1n A B A B www.myassignmenthelp.net
  • 8. Cont…. • 1:N Mothers having children (inverse function) • M:N Students enrolled in a class having children n1 A B enrolled classes A B www.myassignmenthelp.net
  • 9. Key • Identification associated with any kind of data type. • The various kinds of KEY attribute are: – Super Key – Candidate Key – Primary Key – Foreign Key – Composite Key – Alternate Key – Secondary Key www.myassignmenthelp.net
  • 10. Super Key: • An attribute as well as combining attribute that is used to identify the records uniquely. A table can have a lot of Super Keys. – For example: (ID), (ID,Name), (ID,Address), (ID,Department_ID), (ID,Salary), The like because any kind of mixture which could determine the actual records uniquely would have been a Super Key. www.myassignmenthelp.net
  • 11. Candidate Key: • Is a column in a table that is able to be a primary key. – For example: 1)ID 2)Name, address We have only two Candidate Keys used to determine the actual records from the table uniquely. “ID” Key may determine the actual record uniquely and combined of Name and Address can identify the record uniquely, however nor "Name" neither "Address" may be used to determine the actual "records uniquely“ as it might be possible that we have two employees with similar name or two employees from the same house. www.myassignmenthelp.net
  • 12. Primary Key: • The attribute or as well as combined attributes that uniquely define the record. • For example: Database custom may use among the Candidate Key like Primary Key. In this instance we now have “ID” as well as “Name, Address” as Candidate Key, Consider “ID” Key as a Primary Key as the other key is the combination of more than one attribute. www.myassignmenthelp.net
  • 13. Foreign Key: • An attribute or combined attribute in a table whose value match a primary key in another table.  Composite Key: A primary key which includes several attributes is called  For example: if we have used “Name, Address” as a Primary Key then it will be our Composite Key. www.myassignmenthelp.net
  • 14. Alternate Key:  The candidate keys that is not the main primary key is called an alternate key.  For example: “Name, Address” as it is the only other Candidate Key that is not a Primary Key.  Secondary Key: Alternative associated with primary key.  For example: Name, Address, Salary, Department_ID etc. as they can determine the records but they might not be unique. www.myassignmenthelp.net
  • 15. For getting help with any database related assignments Contact: http://www.myassignmenthelp.net/databa se-system-assignment-help.php www.myassignmenthelp.net