4(a)Relational Databases Data ModellingMedium4 marks
A shop allows customers to pay to borrow toys. The shop uses a database to record information about the customers and the toys they have borrowed.
CUSTOMER(CustomerID, ContactFirstName, Phone)TOY(ToyID, ToyName, CostPerDay)TOY_INSTANCE(UniqueToyID, ToyID, Quality)BORROW(BorrowID, CustomerID, UniqueToyID, StartDate, NumberDays)
Describe the relationship between each pair of tables. Include the primary key(s) and foreign key(s) and how these create each relationship.
CUSTOMER and BORROW
0 words
TOY_INSTANCE and TOY
0 words