Uploaded by Asd Asd

Tutorial 3

advertisement
Module title: Fundamentals of
Database Systems
Module code: IS2511
Tutorial (3)
Prince Sattam Bin AbdulAziz University
College of Science and
Humanities – Al-Aflaj
Department of Computer
Science
Question 1:
Figure 1 shows an ER schema for a database that may be used to keep track of transport ships
and their locations for maritime authorities. Map this schema into a relational schema, and
specify all primary keys and foreign keys.
Figure 1: An ER diagram for a SHIP_TRACKING database.
Question 2:
Figure 2 shows an ER schema for a database that may be used to keep track of a
UNIVERSITY. Map this schema into a relational schema, and specify all primary keys
and foreign keys.
1
Figure 2: An ER diagram for a UNIVERSITY database schema.
Question 3:
Figure 3 shows an ER diagram for a database that may be used to keep track of an AIRLINE.
Map this schema into a relational schema, and specify all primary keys and foreign keys.
Figure 3: An ER diagram for an AIRLINE database schema.
2
Question 4:
Consider the ER design for the CONFERENCE_REVIEW database shown in Figure 4. Map
this schema into a relational schema, and specify all primary keys and foreign keys.
Figure 4: An ER diagram for an CONFERENCE_REVIEW database schema.
3
Download