Generalization in DBMS

Learn via video course
FREE
View all courses
DBMS Course - Master the Fundamentals and Advanced Concepts
DBMS Course - Master the Fundamentals and Advanced Concepts
by Srikanth Varma
1000
5
Start Learning
DBMS Course - Master the Fundamentals and Advanced Concepts
DBMS Course - Master the Fundamentals and Advanced Concepts
by Srikanth Varma
1000
5
Start Learning
Topics Covered

Generalization in a Database Management System is a bottom-up approach where entities with common attributes are combined to form a higher-level entity. This process simplifies ER diagrams by merging lower-level entities, such as cars and bikes, into a more generalized entity, enhancing the management of growing data complexities. Unlike the subclass-superclass system, generalization uniquely groups subclasses into a superclass, thereby streamlining the ER model. This approach simplifies entity relationships and evolves the traditional ER model to efficiently handle increased data complexities.

Generalization Example

Let's take the above example which has the entity as car and bike and we need to generalize it based on the common entities between them so before generalizing we will have two separate entities for cars and bikes.

Transform Your Career

Choose from our industry-leading programs designed for career success

NSDC Certified

Modern Software and AI Engineering Program

Master full-stack development with AI integration

12 MonthsDuration
AI-LedCurriculum
Career SupportSupport
GoogleAmazonPaytm+1000 more
Go to Program
NSDC Certified

Modern Data Science and ML with specialisation in AI

Advanced data science techniques with AI specialization

12 MonthsDuration
AI-LedCurriculum
Career SupportSupport
GoogleAmazonPaytm+1000 more
Go to Program
NSDC Certified

Advanced AIML with Specialisation in Agentic AI

Deep dive into AIML with focus on Agentic systems

12 MonthsDuration
AI-LedCurriculum
Career SupportSupport
GoogleAmazonPaytm+1000 more
Go to Program
NSDC Certified

DevOps, Cloud & AI Platform Engineering

Build and manage AI-powered cloud infrastructure

12 MonthsDuration
AI-LedCurriculum
Career SupportSupport
GoogleAmazonPaytm+1000 more
Go to Program
NSDC Certified

AI Engineering Advanced Certification by IIT-Roorkee

Premier AI engineering certification from IIT-Roorkee

3 MonthsDuration
AI-LedCurriculum
Career SupportSupport
Program highlights
Go to Program

Entities Before Generalization

Below will be the entities before generalization:

Car Entity: Car entity can have attributes like car_ID, DateManufactured, Cost, Model, Manufacturer which will be generalized further.

Car Entity

Bike Entity: Bike entity can have attributes like bike_ID, DateManufactured, Cost, Model, Manufacturer which will be generalized further.

Bike Entity

ER Diagram after Generalization

We can see that for cars and bikes some attributes like DateManufactured, Cost, Model, Manufacturer are the same so we can generalize them into an entity called Vehicle.

The vehicle entity will be having these common attributes and the bike and car entity will be related to them using "Is A" relationship table, So ER diagram can be generalized by:

ER Diagram after Generalization

To know more about Entity in DBMS, refer to this article.

Conclusion

Now that we have seen an example of generalization in DBMS, let us note down a few points.

  • Generalization is a process in which a new entity is formed using the common attributes of two or more entities.
  • The newly formed entity is called the generalized entity.
  • Generalization follows the bottom-up approach.
  • It generalizes or simplifies the entities.
  • Higher-level entities can also be combined with lower-level entities.

Scaler Placement Report and Statistics

₹23L
AVG CTC
SCALER PLACEMENT PROOF

Scaler learners achieved 2.5x salary growth with average post-Scaler CTC reaching ₹23L.

11,000+placements
650+companies
Verified data

Read More:

Hiring Partners:
GoogleGoogleAmazonAmazonMicrosoftMicrosoftFlipkartFlipkartAdobeAdobe1200+ more