Enhanced ERD: Specialization
Enhanced ERD: Specialization
In this method the variables are reused. So what can be the solution?
But again in this case every time two variables are not used, for example in case of permanent
employ the monthly salary and daily salary are not needed.
Specialization
E-no E-name Type
Subtypes
Daily Employ
Permanent Employ
Contract Employ
E-no D-Sal
E-no B-Sal E-no M-Sal
DBMS
2. Disjoint Rule
It specifies that, can an instance of a super type be member of two or more sub types,
simultaneously or not.
a. Disjoint Rule
It says that if an instance of a super type is member of some sub type then it can
not be member of some other sub type.
Example is of radio buttons
Select one of the following (only one can be selected in this case);
Tea
Coffee
Cold Drink
d
DBMS
Subtype Discriminator
It is an attribute of super type to determine the target sub type
Grade
Goes through