Professional Documents
Culture Documents
Unit 6: Databases
Just to recap
What is an Entity
What is an Attribute?
Just to recap
So, for example:
Gender
Your Task
For the two databases you have
designed:
Draw the tables as shown in the
previous slide
Identify possible Primary Keys
Foreign Keys
This is a field in one table which is also
the primary key of another table.
Customer Video
Table Table Video
Customer Video ID Rentals
ID Video title
Table
First Name Video_Rent
Rating
Surname al ID
Film Genre
Customer
Address
Date ID
Telephone Released
Video ID
number
Length of
Date Rented
E-mail film
Age Date
Rental
price Returned
Gender
Your Task
On the tables you have finished for
your databases, identify the foreign
keys
Normalisation
The process of refining the structure of a
database to minimise redundancy and
improve integrity is called normalisation.