Enhanced ER Model (original) (raw)

Last Updated : 24 Apr, 2026

The Enhanced ER (EER) Model is an extension of the traditional ER model used to represent complex database requirements. As data complexity increases, the basic ER model becomes insufficient.

relationship

ER Model

The ER model is the abstract representation of a database structure that defines:

Enhanced ER Concepts

In the Enhanced ER (EER) Model, several advanced concepts are used to represent complex data relationships, inheritance, and abstraction in databases.

1. Superclass and Subclass

Superclass is a higher-level entity set that has common attributes. Subclass is a lower-level entity set that inherits attributes and relationships from its superclass but also has its own specific attributes or relationships. This supports the concept of inheritance, where a subclass automatically possesses the features of the superclass.

**Example: Science is a Super class which has subclasses like Physics, Chemistry, Biology.

2. Generalization and Specialization

Generalization and Specialization are common relationships added as enhancements to the classical ER model. A subclass (specialized class) inherits from a superclass (generalized class), similar to object-oriented concepts. This is best understood using IS-A relationships like “Technician IS-A Employee” or “Laptop IS-A Computer.” These are tools for organizing and simplifying data by abstracting or specifying entity relationships.

**Example: Here we have three sets of employees: Secretary, Technician and Engineer. The employee is a super-class of the rest three sets of individual sub-class and each subclass is a subset of Employee set.

EER-Model-3

Employee Set

**Enhanced ER Model of Above Example:

EER-Model-1

Enhanced ER Model

**Constraints: There are two types of constraints on the “Sub-class” relationship.

A. Total or Partial Sub-classing:

**B. Overlapped or Disjoint Sub-Classing:

3. Category or Union Type

A Category (or Union Type) is a subclass that is derived from two or more superclasses that may not be related. It allows the model to represent an entity that can be a member of more than one entity set.

**Example: Set of Library Members is UNION of Faculty, Student and Staff. A union relationship indicates either type; for example, a library member is either Faculty or Staff or Student. Below are two examples that show how UNION can be depicted in ERD - Vehicle Owner is UNION of PERSON and Company and RTO Registered Vehicle is UNION of Car and Truck.

EER-Model-2

Enhanced ER Model with Union

There might be some confusion in Sub-class and UNION. Consider an example in above figure Vehicle is super-class of CAR and Truck. In the example, Vehicle is a superclass of Car and Truck, which normally implies inheritance of attributes. However, in the RTO-registered case, Car and Truck form a union without inheriting from Vehicle, each has independent attributes.

4. Attribute and Relationship Inheritance

In the EER model, subclasses inherit all attributes and relationships of their superclasses. This supports reusability and data consistency, as common attributes don’t need to be redefined. An entity can be a sub-class of multiple entity types such entities are sub-class of multiple entities and have multiple super-classes. In multiple inheritances, attributes of sub-class are the union of attributes of all super-classes.

**Example: If Employee has attributes like Name and ID, all subclasses like Manager or Engineer will automatically have these, in addition to their own unique attributes (like Department or Project).

Read related article - Generalization, Specialization and Aggregation in ER Model