Professional Documents
Culture Documents
Relationship
Diagram
(EER Diagram)
aggregation
Specialization
There are two types of lecturers, permanent and part
time lecturers
Both lecturer types have same attributes :
employee id, name, gender, hp, education, home
address
Each lecturer types also has specific atributes
Permanent lecturers are the university employees
Attribute : Employee Id, grade, start date, length of
working(year), room Id, Ext No, Boss
Part time lecturers work at other companies
Attribute : office name, office address, number of
teaching hours
The difference of attribute between permanent and
part time lecturers makes impossible to create only
one entity set, lecturer. So make a specialization
Specialization Top down process
Hp
gender education
Employee Id
IS A
grade
permanent boss part time
start date lecturer lecturer Number of teaching
hours
Ext No
Length of working Room Id
office name office address
IS A
D3 Student D4 Student
IS A
D3 Student D4 Student
bottom up
process
Attribute Inheritance
Hp
gender education
Employee Id
IS A
grade
permanent boss part time
start date lecturer lecturer Number of teaching
hours
Ext No
Length of working Room Id
office name office address
name
payment payment no
Id No address amount
date
name
borrow
Id No address loan no amount
date
(ii) payment
date
payment
amount
payment no
name
borrow
Id No address loan no amount
date
(iii) pay
payment
date
payment
payment no amount
How about this?
name
borrow
Id No address loan no amount
date
prohibition
pay
payment
date
payment
payment no amount
name
borrow
Id No address loan no amount
date
Aggregation form
customer borrow loan
payment
pay
date