Lab 6 - Implementation in MySQL
Lab 6 - Implementation in MySQL
Aim
______________________________________________________________________________
The aim of this lab is to continue to familiarise you with the MySQL/Oracle Database
Management System, enabling you to define relations and constraints and populate a database.
Your Tasks
____________________________________________________________________________
a) Identify the foreign keys in this schema. Explain how the entity and referential integrity
rules apply to these relations.
b) Produce some sample tables (data) on paper for these relations that observe the
relational integrity rules. Suggest some general constraints that would be appropriate for
this schema.
c) Provide some sample data and enter the data using SQL DML commands. Note the
queries.