Question
Suppose you are involved in developing a database system for the Restaurant database of XVZ company. The operation of the restaurant can be described as
Suppose you are involved in developing a database system for the Restaurant database of XVZ company. The operation of the restaurant can be described as follows. They have a file of booking that they provide to their customers. Each type of food has a unique food code, food descriptions, as well as, a cost, quantity and a price. They have a file of customers. Each customer is given a unique customer number. This file also contains customer names, and customer telephone. A customer may make zero, one or more bookings at a time, and an order is always placed by one customer alone. Information as to booking includes the date due, the total price, quantity and the status. A bookings may involve one or more than one type of food, and a type of food may be involved in more than one booking. Given this information, draw an ER diagram for this Sales Department. Identify and label the primary key(s) of each entity, relationships and the foreign keys required for creating the relational model (40 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started