ER Diagram Example With Scenario
ER Diagram Example With Scenario
ER Diagram Example With Scenario
Draw ER Diagram
Attributes
Fig. Bus Company
Bus (reg-no, make, size, deck, no-pass)
Route (route-no avg-pass)
Driver (emp-no, name, address, tel-no)
Town name)
Stage (stage-no)
Garage (name, address)
Draw an E-R diagram for the database presented above. Make Sure to
identify the associative entity (entities) and provide corresponding key
attribute (attributes).
Ans.
Ans.
(f) institution Example
This database includes information about the course timetable of an
academic institution. For each Course the following information is recorded
an identification number, name of the course, name of the teacher
assigned to teach the course, the number of periods each week it will be
taught, the number of
For each teacher the following information is recorded: SSN, name, name
of the department he/she works with, skills, the yearly salary. For each
class period the following information is recorded: period number, starting
time, ending time. For each room the following information is recorded:
room number, room type (classroom, office, auditorium, and computer
lab), capacity.