Entity Relationship Model
Entity Relationship Model
Model
Entity-Relationship Model
Design Process
Modeling
Constraints
E-R Diagram
Design Issues
Weak Entity Sets
Extended E-R Features
Design of the Bank Database
Reduction to Relation Schemas
Database Design
UML
03-09-2006
Modeling
03-09-2006
03-09-2006
loan_ amount
number
Relationship Sets
03-09-2006
Example:
(Hayes, A-102) depositor
03-09-2006
03-09-2006
03-09-2006
Attributes
03-09-2006
Composite Attributes
03-09-2006
03-09-2006
Mapping Cardinalities
One to one
One to many
Note: Some elements in A and B may not be mapped to any elements in the other set
03-09-2006
Mapping Cardinalities
Many to one
Many to many
Note: Some elements in A and B may not be mapped to any elements in the other set
03-09-2006
Keys
03-09-2006
03-09-2006
E-R Diagrams
03-09-2006
03-09-2006
Roles
03-09-2006
Cardinality Constraints
03-09-2006
One-To-Many Relationship
03-09-2006
Many-To-One Relationships
03-09-2006
Many-To-Many Relationship
03-09-2006
03-09-2006
03-09-2006
03-09-2006
Cardinality Constraints on
Ternary Relationship
03-09-2006
Design Issues
03-09-2006
03-09-2006
Example: works_on
IF6112 Entity Relationship Diagram
Converting Non-Binary
Relationships to Binary Form
03-09-2006
2. add (ei , ai ) to RA
4. add (ei , ci ) to RC
03-09-2006
03-09-2006