Professional Documents
Culture Documents
Ict Homework
Ict Homework
The database below includes two tables. The database is used to keep a record of which customers have borrowed movies from a library.
Movie Barcode Movie Title Main Actor Year of Release Age Certificate
0001 Titanic Leonado De-Caprio 1997 PG
0002 The Innkeepers Sara Paxton 2011 15
0003 The Godfather Marlon Brando 1972 18
0004 Fight Club Brad Pitt 1999 15
0005 Raiders of the Lost Ark Harrison Ford 1981 PG
Customer Number Customer Name Telephone Number Movie Barcode Date Due Back
T567121 Mr Ned Flanders 222 004 067 0002 20/04/2012
M76543 Mr Michael Jordan 123 990 546 0003 27/04/2012
M58899 Mrs Rose Madder 222 758 333 0005 20/04/2012
F567894 Mr Carl Malone 879 222 546 0003 23/04/2012
F987654 Mrs Sonia Flagg 879 231 563 0001 30/04/2012
Questions:
A. How many records are there in the Movie Stock Table? Answer: 5 records
B. How many fields are there in each record in the Customer Borrowing Tables? Answer: 25 fields
C. What type of database is being used here? (circle) Flat File / Relational
E. What is the Primary Key in the Customer Borrowing Table? Answer: Costumer number
F. Which field is the Foreign Key in the Customer Borrowing Table? Answer: Movie Barcode
G. Which Data Type would you use in the Date Due Back field? Answer: Numeric