Tutorial 3
Tutorial 3
1. Matching
b. generalization; specialization
c. disjoint rule; overlap rule
d. total specialization rule; partial specialization rule
e. PARTY; PARTY ROLE
f. entity; entity cluster
b) Now, consider a new attribute, Hourly Rate, which is the rate a consultant charges a company
for each hour of his or her services. Assuming that a consultant can still work for only one
company at a time, and we need to track only current consulting engagements. Draw ER
diagram.
c) (Contd) Now, consider that each time consultant works for a company, a contract is written
describing the terms for this consulting engagement. Contract is identified by a composite
identifier of Company ID, Consultant ID, and Contract Date. Assuming that a consultant can still
work for only one company at a time. Redraw ERD to reflect changes.