Professional Documents
Culture Documents
Advance Database Management System: Unit - 1 .The Extended Entity Relationship Model and Object Model
Advance Database Management System: Unit - 1 .The Extended Entity Relationship Model and Object Model
Management System
Unit – 1 .The Extended Entity Relationship Model and Object Model
.
Index
ssn lot
continued…
since Employees
name dname
super- subor-
ssn lot did budget visor dinate
Reports_To
Employees Works_In Departments
▪ Consider Works_In:
Employees Works_in Departments
An employee can
work in many
departments; a dept
can have many
employees.
▪ In contrast, each dept
has at most one
manager, according to
the key constraint on
Manages. 1-to-1 1-to Many Many-to-1 Many-to-Many
Types of attributes
▪ Completeness Constraint:
– Total specifies that every entity in the superclass must be a member of some subclass
in the specialization/ generalization
– Shown in EER diagrams by a double line
– Partial allows an entity not to belong to any of the subclasses
– Shown in EER diagrams by a single line
Constraints on Specialization and
Generalization (3)