ER Diagram
ER Diagram
Sources:
Pearson Education, Inc. 2011, Elmasri/Navathe, Fundamentals of Database Systems, Sixth Edition
McGraw Hill Education , 2010, Silberschatz, Korth and Sudarshan, Database System Concepts, Sixth edition
Topic Outline
Overview of Database Design Process
Example Database Application (COMPANY)
ER Model Concepts
Entities and Attributes
Entity Types, Value Sets, and Key Attributes
Relationships and Relationship Types
Weak Entity Types
Roles and Attributes in Relationship Types
ER Diagrams - Notation
ER Diagram for COMPANY Schema
Alternative Notations – UML class diagrams, others
Dr.Geetha Mary A, Asso Prof, SCOPE, Vellore Institute of
Technology, Vellore
Overview of Database Design Process
Eg:
Entity set
Relationship
An association between the instances of one or more
entity types that is of interest to the organization
Relationship Degree
Relationship Constraints
Multiple
Supplier Supply Project Assigned_to
Ternary
Part
Same entity type can participate more than once in the same
relationship type under different “roles”
Employees
Supervision
N Works_In 1
Employees Departments
1 Manages 1
existentially dependent on
DEPARTMENT via the Works In
relationship type
Dr.Geetha Mary A, Asso Prof, SCOPE, Vellore Institute of
Technology, Vellore
Kinds of participating constraints
PARTIAL Participation
N Works_In 1
Employees Departments
1 Manages 1
max) notation
COMPANY ER Schema Diagram using (min,
Dr.Geetha Mary A, Asso Prof, SCOPE, Vellore Institute of
Technology, Vellore
Summary of notation for ER diagrams
Alternative diagrammatic notation