What is Generalization in DBMS?
Generalization:
The process of extracting common character from two or more classes and combining them into Generalized super class is called Generalization. Common characteristic can be attributed or method generalization is represented by a triangle followed by a line.
Generalization is the process of extracting common properties from a set of entities and create a generalized entity from it. It is a bottom up approach in which two or more entities can be generalized to a higher level entity if they have some attributes in common.
Generalization |
For example, STUDENT and FACULTY can be generalized to a higher level entity called PERSON. In this case, common attributes like P_NAME, P_ADD become part of a higher entity (PERSON) and specialized attributes like S_FEE, become part of specialized entity (STUDENT).
0 Comments