Specialization: dividing an entity into multiple entities based on the unique characters between them.
E.g. In below employee table .the employees who are fresher has a “trainer-name” , but with out any "Project"
name
|
age
|
role
|
trainer
|
Project
|
Amit
|
21
|
fresher
|
smith
|
|
Bill
|
30
|
developer
|
|
Prj-A
|
split this table into two tables based on the unique characteristics
Developers
Fresher
..
|
Generalization: creating a super entity through identifying the common attributes between two or more
entities.
with the same example as mentioned above :
Developers
Fresher
|
create a super entity based on the common properties found in both the tables (name , age)
Employees
Developer
Fresher
|
No comments:
Post a Comment