ER - Model 2024
ER - Model 2024
• 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
Overview od Database Design Process
Design Phases
Note: Some elements in A and B may not be mapped to any elements in the other set
Cardinality Constraints
We express cardinality constraints by drawing either a directed line (),
signifying “one,”
or an undirected line (—), signifying “many,” between the relationship set
and the entity set.
A weak entity set becomes a table that includes a column for the
primary key of the identifying strong entity set
Method 1:
Form a schema for the higher-level entity
Form a schema for each lower-level entity set, include
primary key of higher-level entity set and local attributes
schema attributes
person ID, name, street, city
student ID, tot_cred
employee ID, salary
Method 2:
Form a schema for each entity set with all local and
inherited attributes
schema attributes
person ID, name, street, city
student ID, name, street, city, tot_cred
employee ID, name, street, city, salary