Enhanced ER Model
Enhanced ER Model
ER model
The ER model is the abstract representation of a database structure that
defines
Entities in a database.
Attributes that they had.
Relationships between them.
Example:
This example instance of “sub-class” relationships. Here we have four
sets of employees: Secretary, Technician, and Engineer. The employee is
a super-class of the rest three sets of individual sub-class is a subset of
Employee set.
An entity belonging to a sub-class is related to some super-class
entity. For instance emp, no 1001 is a secretary, and his typing speed
is 68. Emp no 1009 is an engineer (sub-class) and her trade is
“Electrical”, so forth.
Sub-class entity “inherits” all attributes of super-class; for example,
employee 1001 will have attributes eno, name, salary, and typing
speed.
Constraints
Union
Overall, these features make the EER model more expressive and
powerful than the traditional ER model, allowing a more accurate
representation of complex relationships between entities.