0% found this document useful (0 votes)
10 views11 pages

EnhancedER Diagrams

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views11 pages

EnhancedER Diagrams

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Enhanced ER Model

1
Topics to be Covered
• Introduction to Enhanced ER Diagrams
• Subtypes and Supertypes
• Specialization and Generalization
• Aggregation
• Association and Attributes

2
Introduction to ER Model
Enhanced ER (EER) diagrams are an extension of the traditional Entity-
Relationship (ER) model.
EER diagrams incorporate additional modeling concepts and constructs to
represent complex data relationships and constraints.
They provide a more comprehensive and expressive way of designing database
schemas.

3
Subtypes and Supertypes
Subtype: A subset of entities with specific attributes or relationships.
Supertype: A general entity that represents a group of related subtypes.
Subtype and supertype relationships are depicted using a triangle and lines in an
EER diagram.

4
Example of subclass with specific attributes

5
Specialization and Generalization
Specialization: The process of defining subtypes based on common attributes or
relationships.
Generalization: The process of defining a supertype by combining common
attributes or relationships from multiple subtypes.
Specialization and generalization relationships are represented using lines
and arrows in an EER diagram.

6
Specialization and Generalization
Specialization: The process of defining subtypes based on common attributes or
relationships.
Generalization: The process of defining a supertype by combining common
attributes or relationships from multiple subtypes.
Specialization and generalization relationships are represented using lines
and arrows in an EER diagram.

7
Aggregation
Aggregation:
A part-whole relationship between entities, where one entity represents a whole
(aggregation) and another entity represents its parts.
Aggregation relationships are represented using a diamond shape and lines in an
EER diagram.
Aggregation allows for a higher level of abstraction and helps in modeling
complex data structures.

8
Association and Attributes
Association: A relationship between two entities with their attributes.
Attributes: Additional properties or characteristics of an association.

9
Example

10
THANK YOU

11

You might also like