Develop a database to facilitate the delivery of pizzas


The ACME Pizza Company has engaged you to develop a database to facilitate the delivery of pizzas. ACME Pizza comprises numerous franchised stores in the city.

Retained for each store is the phone, address and its unique store number. Once any customer has placed an order, they will be assigned a unique customer number and their phone number and address will be stored for future reference. This information is retained once in the database to be accessible to all stores.

However, every order needs to be associated with the store that processes it. Each store assigns their own set of a unique order numbers. The employee information for each store is maintained and for each employee their name, employee id and job classification code are needed. Employee ids are also assigned locally by each store and are only unique for that store.

One of the employees in each store is designated as the store manager. It is important that the database design enforces the integrity constraint of there being only one manager designated for each store.

Each employee has a job classification. A job classification comprises a code, a standard description (such as pizza chef, delivery driver, etc.) and an associated standard hourly rate. ACME Pizza offers a number of standard pizza types.

Each standard pizza type has its own code, description and a base price. ACME Pizza also allows customers to add any number of different toppings to a pizza. Each topping type again has its own standard code and description as well as price.

Once a customer has placed their order, the order date and order time are recorded (delivery within 30 minutes or its free). For simplicity it can be assumed that only pizzas and toppings are sold but there can multiple pizzas per order, of the same or different pizza type.

The details for each pizza on the order as well as its selected toppings (if any) will be recorded.

Once an order is ready for delivery, it will be assigned to a delivery driver who will deliver it and call in the time the order was actually delivered. This time will be entered to complete the order.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Develop a database to facilitate the delivery of pizzas
Reference No:- TGS02852817

Expected delivery within 24 Hours