Veda Bites are swipeable micro-lessons — each one teaches exactly one
idea. Here's a taste from this kit; the app has the full deck.
💡 Key Idea
Generalization: The Core Concept
Unifying entities into a supertype.
Generalization is the process of identifying common attributes among multiple entity types and abstracting them into a single, higher-level supertype entity. The original entities become subtypes of this supertype, inheriting its attributes and relationships.
↳ Generalization abstracts common features into a supertype, reducing redundancy and simplifying the schema.
📖 Definition
Formal Definition
A precise database modeling term.
In the Entity-Relationship (ER) model, generalization is the bottom-up process of defining a generalized entity (supertype) from a set of lower-level entities (subtypes) based on their common characteristics. It is the reverse of specialization.
↳ Generalization is the bottom-up abstraction of entities into a supertype.
⚖️ Comparison
Generalization vs. Specialization
Two sides of the same coin.
↳ Generalization combines, specialization splits; both achieve inheritance.