AccessExercise-Sample 3
AccessExercise-Sample 3
(35 marks)
a. Create 4 tables: Customer, Food and Drink, Movies, and Payment. Details of the given tables are
described as below:
Customer
Customer ID Last name First name Mobile Address
1 Allen Eli (+45)7891023 15 Hackney Street
2 Barnes Sarah (+75)1235894 19 London Road
3 Cates Pearl (+44)2356890 28 Sackville Street
4 Sarah Yates (+55)7456341 12/34 Oxford
5 George Washington (+14)7294354 14/14/17 Portal
6 Theory Bank (+88)4589712 233 Portland Street
Table 3. Customer
Requirements of field names:
- Mobile: follows the style “(+11)111111”
- Others: Use appropriate arguments to choose the suitable data types
Payment
Requirements of field names:
- Payment method: create a (single selection) drop down list contains: Card, Cash, Cheque,
and Transfer
- Card types: create a (single selection) drop down list contains: Visa, Maestro, Visa/Debit, and
Master
- Card number: follows the style “1111 1111”
- Sort code: follows the style “11-11-11”
- Expire date: follows the style “month-year”
- Others: Use appropriate arguments to choose the suitable data types
b. Create relationships for the 4 tables. Known that, the three tables Customer, Food and Drink, and
Movies have “One-to-Many” relationship to table Payment. Show clearly these relationships.