IS3331 Data Management Tutorial 4 - Modeling Data in The Organization The Enhanced E-R Model
IS3331 Data Management Tutorial 4 - Modeling Data in The Organization The Enhanced E-R Model
1. Add a subtype discriminator for each of the supertypes shown in the following
figure. Show the discriminator values that assign instances to each subtype. Use the
following subtype discriminator names and values:
a. PERSON: Person Type (Employee? Alumnus? Student?)
b. EMPLOYEE: Employee Type (Faculty, Staff)
c. STUDENT: Student Type (Grad, Undergrad)
Solution
2. Management department at Scholars University holds workshops annually in
collaboration with two other universities. The department wishes to create a
database with the following entities and attributes:
Faculty delivering workshop – FacultyID, Name, Email, Address (street, city,
state, zip code) and Contact number
Workshop – Workshop ID, Year, Theme, Venue
Venue – LocationID, University Name, Address (street, city, state, zip code),
Contact number
Participants – ParticipantID, Name, Designation, Affiliating Institute, Charges
The participating universities have come up with the following rules:
Venue rotates among the three universities, repeating every three years.
A total of 50 participants are allowed in each workshop each year on first come
first serve basis.
Charges vary with designation of the participant.
Accommodation is not provided by any host and other expenses are also not
entertained.
Draw an ERD for this situation.
Solution
WORKSHOP
PK WorkshopID
Year PARTICIPANT
FACULTY Theme PK ParticipantID
PK FacultyID LocationID Name
Name Designation
Email AffiliatingInstitute
Street Charges
City VENUE
State PK LocationID
ZipCode UniversityName
Contact Number Street
City
State
ZipCode
Contact Number
Reference:
Modern Database Management, 12th Edition, Chapter 2, 3
- End of Tutorial 4 -