SlideShare a Scribd company logo
Entity-Relationship model
a model for identifying entities to be
represented in the database and representation
of how those entities are related.
Entity-Relationship model
 Design Phases - Requirement Analysis:
 to understand what data need to be stored in the
database, what applications must be built, what are
all those operations that are frequently used by the
system.
 requires proper communication with user groups.
Entity-Relationship model
 Design Phases – Conceptual database design:
 E-R Model is built.
 a high level model used in database design.
 to create a simple description of data that matches
with the requirements of users.
Entity-Relationship model
 Design Phases – Logical database design:
 ER model is converted to relational database
schema.
Design Phases – Schema refinement:
 to identify the potential problems and to refine it.
 normalizing and restructuring the relations.
Entity-Relationship model
 Design Phases – Physical database design:
 building indexes on tables and clustering tables,
redesigning some parts of schema obtained from
earlier design steps.
Entity-Relationship model
 Design Phases – Application and Security
Design:
 UML – design of the database can be accomplished.
 the role of each entity in every process must be
reflected in the application task.
 some access rules must be enforced on the application
to protect the security features.
ER Model - Concepts
 Entity Sets:
 Entity: a “thing” or “object” in the real world that is
distinguishable from all other objects.
 Example: a particular person, car, house, etc.
 An entity has set of properties, and the values for some set
of properties may uniquely identify an entity.
 An entity set is a collection of entities having the same
properties
ER Model - Concepts
Attributes:
 The properties that describe an entity are called
attributes.
 In the customer entity customer id, name, street
are the attributes
ER Model - Concepts
Attributes – Types:
 Simple attribute:
 An attribute that cannot be divided into further
subparts (atomic).
 Example: Customer-id of customer entity
ER Model - Concepts
Attributes – Types:
 Composite attribute:
 An attribute that can be divided into a set of
subparts. Employee
Address
Name
Salary
Number Street City
ER Model - Concepts
Attributes – Types:
 Single value attribute:
 An attribute having only one value in a particular
entity.
ER Model - Concepts
Attributes – Types:
 Multi-valued attribute:
 An attribute having more than one value for a
particular entity. Employee
Address
Name
Degrees
Number Street City
ER Model - Concepts
Attributes – Types:
Derived attribute:
 An attribute that is derived from other related
attributes or entities. Employee
Address
Birthdate
Age
Number Street City
ER Model - Concepts
 Relationship set:
 an association among several entities.
 a set of relationships of the same type.
ER Model
 Mapping Cardinality:
 the number of entities to which another entity can
be associated via a relationship set.
 For a binary relationship set R between entity sets
A and B
ER Model
 Mapping Cardinality - One-to-one (1 : 1)
 An entity in A is associated with at most one entity in B,
and an entity in B is associated with at most one entity in
A.
 One-to-many (1 : M)
 An entity in A is associated with any number of entities in
B. An entity in B can be associated with at most one entity
in A.
ER Model
 Mapping Cardinality - Many-to-Many (M : N)
 An entity in A is associated with any number of entities in
B, and an entity in B is associated with any number of
entities in A.
 Many to one (M : 1)
An entity in A is associated with at most one entity in B. An
entity in B can be associated with any number of entities in
A.
ER Model
 Ternary relation:
 If a relationship connects three connects three
entities.
 Entities: Product, Supplier and customer
 Relationship: buy
ER Model
Weak Entity Set:
 Entity types that do not have key attributes of their
own are called weak entity types.
 Strong Entity Set:
 Entity types that have key attributes of their own
are called strong entity types
Components of ER Diagram
Component Description Symbol
Entity Rectangle
Relationship Diamond
Attributes for
any Entity Ellipse
Key Attribute
for any Entity
the attribute
name inside
the Ellipse is
underlined.
Components of ER Diagram
Component Description Symbol
Derived
Attribute for
any Entity
dotted
ellipse is
created
inside the
main ellipse
Multivalued
Attribute for
any Entity
Double
Ellipse
ER Diagram - Entity
Component Example Symbol
Entity
Employee,
Manager,
Department
Weak Entity
depends on
another
entity
ER Diagram - Attribute
Component Description Symbol
Attribute
(Name, Age,
Address)
property or
characteristic
of an entity
Key Attribute
main
characterstic
of an Entity
Composite
Attribute
have their
own attributes
ER Diagram - Relationship
Component Description Symbol
One to One
Relationship
one student can enroll
only for one course and
a course will also have
only one Student
One to Many
Relationship
1 student can opt for
many courses
Many to One
Relationship
Student enrolls for only
one Course but a
Course can have many
Students
ER Diagram - Relationship
Component Description Symbol
Many to Many
Relationship
one student can enroll
for more than one
courses. And a course
can have more than 1
student enrolled in it
ER Model

More Related Content

What's hot

ER Modeling and Introduction to RDBMS
ER Modeling and Introduction to RDBMSER Modeling and Introduction to RDBMS
ER Modeling and Introduction to RDBMS
Rubal Sagwal
 
Basic database analysis(database)
Basic database analysis(database)Basic database analysis(database)
Basic database analysis(database)welcometofacebook
 
Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design Issue
Amiya9439793168
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
Ahmed Magdy
 
Logical database design and the relational model(database)
Logical database design and the relational model(database)Logical database design and the relational model(database)
Logical database design and the relational model(database)welcometofacebook
 
Ch 6 Logical D B Design
Ch 6  Logical D B  DesignCh 6  Logical D B  Design
Ch 6 Logical D B Designguest8fdbdd
 
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 modelJafar Nesargi
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
Amiya9439793168
 
E r model
E r modelE r model
E r model
santoshsaini22
 
Database 3 Conceptual Modeling And Er
Database 3   Conceptual Modeling And ErDatabase 3   Conceptual Modeling And Er
Database 3 Conceptual Modeling And ErAshwani Kumar Ramani
 
ER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMSER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMS
ssuser20b618
 
Relational database
Relational databaseRelational database
Relational database
SanthiNivas
 
Relational Database & Database Management System
Relational Database & Database Management SystemRelational Database & Database Management System
Relational Database & Database Management System
Nimrakhan89
 
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Vidyasagar Mundroy
 
Entity relationship modelling - DE L300
Entity relationship modelling - DE L300Entity relationship modelling - DE L300
Entity relationship modelling - DE L300Edwin Ayernor
 

What's hot (20)

ER Modeling and Introduction to RDBMS
ER Modeling and Introduction to RDBMSER Modeling and Introduction to RDBMS
ER Modeling and Introduction to RDBMS
 
Basic database analysis(database)
Basic database analysis(database)Basic database analysis(database)
Basic database analysis(database)
 
Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design Issue
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Logical database design and the relational model(database)
Logical database design and the relational model(database)Logical database design and the relational model(database)
Logical database design and the relational model(database)
 
Erd chapter 3
Erd chapter 3Erd chapter 3
Erd chapter 3
 
Ch 6 Logical D B Design
Ch 6  Logical D B  DesignCh 6  Logical D B  Design
Ch 6 Logical D B Design
 
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
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
 
Data modeling
Data modelingData modeling
Data modeling
 
E r model
E r modelE r model
E r model
 
Database 3 Conceptual Modeling And Er
Database 3   Conceptual Modeling And ErDatabase 3   Conceptual Modeling And Er
Database 3 Conceptual Modeling And Er
 
Ch 3 E R Model
Ch 3  E R  ModelCh 3  E R  Model
Ch 3 E R Model
 
Entity relationship modelling
Entity relationship modellingEntity relationship modelling
Entity relationship modelling
 
ER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMSER DIAGRAM & ER MODELING IN DBMS
ER DIAGRAM & ER MODELING IN DBMS
 
Relational database
Relational databaseRelational database
Relational database
 
Relational Database & Database Management System
Relational Database & Database Management SystemRelational Database & Database Management System
Relational Database & Database Management System
 
Database design
Database designDatabase design
Database design
 
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)
 
Entity relationship modelling - DE L300
Entity relationship modelling - DE L300Entity relationship modelling - DE L300
Entity relationship modelling - DE L300
 

Similar to DBMS - ER Model

Unit 2 DBMS
Unit 2 DBMSUnit 2 DBMS
Unit 2 DBMS
DhivyaSubramaniyam
 
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
MwangaPrayGod
 
Revision ch 3
Revision ch 3Revision ch 3
Revision ch 3
Rupali Rana
 
Data & Databases
Data & Databases Data & Databases
Data & Databases
Tharindu Weerasinghe
 
Chapter-3 Data Modeling Using the Entity-Relationship Model
Chapter-3  Data Modeling Using the Entity-Relationship ModelChapter-3  Data Modeling Using the Entity-Relationship Model
Chapter-3 Data Modeling Using the Entity-Relationship Model
Raj vardhan
 
Basic concepts of Data and Databases
Basic concepts of Data and Databases Basic concepts of Data and Databases
Basic concepts of Data and Databases
Tharindu Weerasinghe
 
Chapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptxChapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptx
santosh96234
 
1 - Database Management System.pdf
1 - Database Management System.pdf1 - Database Management System.pdf
1 - Database Management System.pdf
gaurav70287
 
database1
database1database1
database1
Monika Sharma
 
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Mustafa Kamel Mohammadi
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
Entityrelationshipmodel
Enes Bolfidan
 
Presentation of saad on e-r diagram.
Presentation of saad on e-r diagram.Presentation of saad on e-r diagram.
Presentation of saad on e-r diagram.
sumit gyawali
 
Conceptual Modeling of Data
Conceptual Modeling of DataConceptual Modeling of Data
Conceptual Modeling of Data
M.Zalmai Rahmani
 
E r diagram
E r diagramE r diagram
E r diagram
SandhyaTatekalva
 
chapter 3-Data Modelling using Entity Relationship .pdf
chapter 3-Data Modelling using Entity Relationship .pdfchapter 3-Data Modelling using Entity Relationship .pdf
chapter 3-Data Modelling using Entity Relationship .pdf
MisganawAbeje1
 
dbms (database management system )1.pptx
dbms (database management system )1.pptxdbms (database management system )1.pptx
dbms (database management system )1.pptx
227r1a0519
 
Conceptual Data Modelling Using ER-models
Conceptual Data Modelling Using ER-modelsConceptual Data Modelling Using ER-models
Conceptual Data Modelling Using ER-models
Shailaja Jayaprakash
 

Similar to DBMS - ER Model (20)

Unit 2 DBMS
Unit 2 DBMSUnit 2 DBMS
Unit 2 DBMS
 
Dbms
DbmsDbms
Dbms
 
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
 
Revision ch 3
Revision ch 3Revision ch 3
Revision ch 3
 
Data & Databases
Data & Databases Data & Databases
Data & Databases
 
Chapter-3 Data Modeling Using the Entity-Relationship Model
Chapter-3  Data Modeling Using the Entity-Relationship ModelChapter-3  Data Modeling Using the Entity-Relationship Model
Chapter-3 Data Modeling Using the Entity-Relationship Model
 
Unit02 dbms
Unit02 dbmsUnit02 dbms
Unit02 dbms
 
Basic concepts of Data and Databases
Basic concepts of Data and Databases Basic concepts of Data and Databases
Basic concepts of Data and Databases
 
Chapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptxChapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptx
 
1 - Database Management System.pdf
1 - Database Management System.pdf1 - Database Management System.pdf
1 - Database Management System.pdf
 
database1
database1database1
database1
 
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
 
Entityrelationshipmodel
EntityrelationshipmodelEntityrelationshipmodel
Entityrelationshipmodel
 
Presentation of saad on e-r diagram.
Presentation of saad on e-r diagram.Presentation of saad on e-r diagram.
Presentation of saad on e-r diagram.
 
Conceptual Modeling of Data
Conceptual Modeling of DataConceptual Modeling of Data
Conceptual Modeling of Data
 
E r diagram
E r diagramE r diagram
E r diagram
 
chapter 3-Data Modelling using Entity Relationship .pdf
chapter 3-Data Modelling using Entity Relationship .pdfchapter 3-Data Modelling using Entity Relationship .pdf
chapter 3-Data Modelling using Entity Relationship .pdf
 
dbms (database management system )1.pptx
dbms (database management system )1.pptxdbms (database management system )1.pptx
dbms (database management system )1.pptx
 
database
databasedatabase
database
 
Conceptual Data Modelling Using ER-models
Conceptual Data Modelling Using ER-modelsConceptual Data Modelling Using ER-models
Conceptual Data Modelling Using ER-models
 

More from MythiliMurugan3

DS - Quick Sort
DS - Quick SortDS - Quick Sort
DS - Quick Sort
MythiliMurugan3
 
DS - Graph Traversal
DS - Graph TraversalDS - Graph Traversal
DS - Graph Traversal
MythiliMurugan3
 
DS- Stack ADT
DS- Stack ADTDS- Stack ADT
DS- Stack ADT
MythiliMurugan3
 
DS - BST
DS - BSTDS - BST
DS - BST
MythiliMurugan3
 
DS - Application of List
DS - Application of ListDS - Application of List
DS - Application of List
MythiliMurugan3
 
DBMS - Relational Algebra
DBMS - Relational AlgebraDBMS - Relational Algebra
DBMS - Relational Algebra
MythiliMurugan3
 
DBMS - Distributed Databases
DBMS - Distributed DatabasesDBMS - Distributed Databases
DBMS - Distributed Databases
MythiliMurugan3
 
DBMS - RAID
DBMS - RAIDDBMS - RAID
DBMS - RAID
MythiliMurugan3
 
DBMS - Transactions
DBMS - TransactionsDBMS - Transactions
DBMS - Transactions
MythiliMurugan3
 

More from MythiliMurugan3 (9)

DS - Quick Sort
DS - Quick SortDS - Quick Sort
DS - Quick Sort
 
DS - Graph Traversal
DS - Graph TraversalDS - Graph Traversal
DS - Graph Traversal
 
DS- Stack ADT
DS- Stack ADTDS- Stack ADT
DS- Stack ADT
 
DS - BST
DS - BSTDS - BST
DS - BST
 
DS - Application of List
DS - Application of ListDS - Application of List
DS - Application of List
 
DBMS - Relational Algebra
DBMS - Relational AlgebraDBMS - Relational Algebra
DBMS - Relational Algebra
 
DBMS - Distributed Databases
DBMS - Distributed DatabasesDBMS - Distributed Databases
DBMS - Distributed Databases
 
DBMS - RAID
DBMS - RAIDDBMS - RAID
DBMS - RAID
 
DBMS - Transactions
DBMS - TransactionsDBMS - Transactions
DBMS - Transactions
 

Recently uploaded

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 

DBMS - ER Model

  • 1. Entity-Relationship model a model for identifying entities to be represented in the database and representation of how those entities are related.
  • 2. Entity-Relationship model  Design Phases - Requirement Analysis:  to understand what data need to be stored in the database, what applications must be built, what are all those operations that are frequently used by the system.  requires proper communication with user groups.
  • 3. Entity-Relationship model  Design Phases – Conceptual database design:  E-R Model is built.  a high level model used in database design.  to create a simple description of data that matches with the requirements of users.
  • 4. Entity-Relationship model  Design Phases – Logical database design:  ER model is converted to relational database schema. Design Phases – Schema refinement:  to identify the potential problems and to refine it.  normalizing and restructuring the relations.
  • 5. Entity-Relationship model  Design Phases – Physical database design:  building indexes on tables and clustering tables, redesigning some parts of schema obtained from earlier design steps.
  • 6. Entity-Relationship model  Design Phases – Application and Security Design:  UML – design of the database can be accomplished.  the role of each entity in every process must be reflected in the application task.  some access rules must be enforced on the application to protect the security features.
  • 7. ER Model - Concepts  Entity Sets:  Entity: a “thing” or “object” in the real world that is distinguishable from all other objects.  Example: a particular person, car, house, etc.  An entity has set of properties, and the values for some set of properties may uniquely identify an entity.  An entity set is a collection of entities having the same properties
  • 8. ER Model - Concepts Attributes:  The properties that describe an entity are called attributes.  In the customer entity customer id, name, street are the attributes
  • 9. ER Model - Concepts Attributes – Types:  Simple attribute:  An attribute that cannot be divided into further subparts (atomic).  Example: Customer-id of customer entity
  • 10. ER Model - Concepts Attributes – Types:  Composite attribute:  An attribute that can be divided into a set of subparts. Employee Address Name Salary Number Street City
  • 11. ER Model - Concepts Attributes – Types:  Single value attribute:  An attribute having only one value in a particular entity.
  • 12. ER Model - Concepts Attributes – Types:  Multi-valued attribute:  An attribute having more than one value for a particular entity. Employee Address Name Degrees Number Street City
  • 13. ER Model - Concepts Attributes – Types: Derived attribute:  An attribute that is derived from other related attributes or entities. Employee Address Birthdate Age Number Street City
  • 14. ER Model - Concepts  Relationship set:  an association among several entities.  a set of relationships of the same type.
  • 15. ER Model  Mapping Cardinality:  the number of entities to which another entity can be associated via a relationship set.  For a binary relationship set R between entity sets A and B
  • 16. ER Model  Mapping Cardinality - One-to-one (1 : 1)  An entity in A is associated with at most one entity in B, and an entity in B is associated with at most one entity in A.  One-to-many (1 : M)  An entity in A is associated with any number of entities in B. An entity in B can be associated with at most one entity in A.
  • 17. ER Model  Mapping Cardinality - Many-to-Many (M : N)  An entity in A is associated with any number of entities in B, and an entity in B is associated with any number of entities in A.  Many to one (M : 1) An entity in A is associated with at most one entity in B. An entity in B can be associated with any number of entities in A.
  • 18. ER Model  Ternary relation:  If a relationship connects three connects three entities.  Entities: Product, Supplier and customer  Relationship: buy
  • 19. ER Model Weak Entity Set:  Entity types that do not have key attributes of their own are called weak entity types.  Strong Entity Set:  Entity types that have key attributes of their own are called strong entity types
  • 20. Components of ER Diagram Component Description Symbol Entity Rectangle Relationship Diamond Attributes for any Entity Ellipse Key Attribute for any Entity the attribute name inside the Ellipse is underlined.
  • 21. Components of ER Diagram Component Description Symbol Derived Attribute for any Entity dotted ellipse is created inside the main ellipse Multivalued Attribute for any Entity Double Ellipse
  • 22. ER Diagram - Entity Component Example Symbol Entity Employee, Manager, Department Weak Entity depends on another entity
  • 23. ER Diagram - Attribute Component Description Symbol Attribute (Name, Age, Address) property or characteristic of an entity Key Attribute main characterstic of an Entity Composite Attribute have their own attributes
  • 24. ER Diagram - Relationship Component Description Symbol One to One Relationship one student can enroll only for one course and a course will also have only one Student One to Many Relationship 1 student can opt for many courses Many to One Relationship Student enrolls for only one Course but a Course can have many Students
  • 25. ER Diagram - Relationship Component Description Symbol Many to Many Relationship one student can enroll for more than one courses. And a course can have more than 1 student enrolled in it