Question

In: Computer Science

Perfect Pizza is a pizza delivery and pick up shop. They are hiring you to create...

Perfect Pizza is a pizza delivery and pick up shop. They are hiring you to create a database designed to track their customers, employees, products, and orders. Their needs are outlined below. They want to use the customer’s telephone number to identify the customer. They are interested in households, not individuals. They need the street address and zip code for delivery. They only deliver to the following zip codes: 29572, 29575, 29577, 29578, 29579, and 29588. Since all zip codes are in the Myrtle Beach area, they would like that information auto filled for the city and state, but want the option to enter other cities and states due to pick up orders from tourists. They also need an order detail table to store the price charged. They need to be able to change the price charged for two reasons: it may be different than product price due to a discount or special allowance and it will keep a historic record of the price. That way, when they are updating a product in the product table, it doesn’t affect the prices charged in past sales. 1) Make a list of Entities you feel this database needs and give an explanation for your reasoning behind each one. 2) For each of the entities you listed above, list the attributes you feel need to be included in each of those entities. 3) Identify the attribute that would be designated as the primary key in each entity. 4) Make a list of questions you would ask to help you better design the database. (Must be at least 5 questions) 5) Make a list of suggestions for the pizza shop owners to improve the database. (Must be at least 3 suggestions)

Solutions

Expert Solution

Perfect Pizza

1) List of Entities

  1. Customers- To record the personal details of the customers
  2. Employees- To record the personal details of the employees
  3. Products- To record the details of the products
  4. Orders- To record the details of the orders at the perfect pizza
  5. Address- To record the personal address details of the customers and employees

2) List of attributes

  1. Customers- (Customer_id, First_name, Last_name, contact, gender, dateofbirth, addressID)
  2. Employees-(Employee_ID, First_name, Last_name, contact, gender, dateofbirth, addressID, job_description, salary)
  3. Products- (Product_ID, Name, description, Cost)
  4. Orders- (Order_id, Customer_id, Employee_Id, date, time, Product_id, quantity, cost)
  5. Address-(house_number, street, Colony, City, state, country, Zipcode)

3) Primary Key in each Entity

  1. Customers- Customer_id
  2. Employees- Employee_ID
  3. Products- Product_ID
  4. Orders- Order_id
  5. Address- house_number

4) List of questions

  1. Would you like to create sub-types of the products, like veg, non -veg separate categories?
  2. Would you like to have order history for each customer?
  3. Would you like to have order dicount record for each customer?
  4. Would you like to have employee order history separately?

5) List of suggestions

  1. separate products category coulde be created.
  2. Product customization should be an option with special ingredients table separetly.
  3. Customer order history should be there

If any doubt, please feel free to ask and comment, i would like to answer them.
Thank you


Related Solutions

Perfect Pizza is a pizza delivery and pick up shop. They are hiring you to create...
Perfect Pizza is a pizza delivery and pick up shop. They are hiring you to create a database designed to track their customers, employees, products, and orders. Their needs are outlined below. They want to use the customer’s telephone number to identify the customer. They are interested in households, not individuals. They need the street address and zip code for delivery. They only deliver to the following zip codes: 29572, 29575, 29577, 29578, 29579, and 29588. Since all zip codes...
Perfect Pizza is a pizza delivery and pick up shop. They are hiring you to create...
Perfect Pizza is a pizza delivery and pick up shop. They are hiring you to create a database designed to track their customers, employees, products, and orders. They want to use the customer’s telephone number to identify the customer. They also are interested in an order detail table to store the price charged. They restrict delivery to zip codes: 29572, 29575, 29577, 29578, 29579, and 29588. They want the city and state auto filled but want the option to enter...
Pizza Hut is facing stiff competition in it pizza delivery service, and you are the owner...
Pizza Hut is facing stiff competition in it pizza delivery service, and you are the owner who is particularly concerned about being able to provide call-in customers with a guarantee as to how quickly their pizza would arrive. You have collected a month’s worth of data that included travel time (y)/ minute and delivery distance (x)/miles. You want to know if you can use delivery distance to predict travel time. You run regression on excel, and get the following output....
A pizza shop claims its average home delivery time is 27 minutes. A sample of 30...
A pizza shop claims its average home delivery time is 27 minutes. A sample of 30 deliveries had a sample average of 30.7 minutes. Assume the population standard deviation for the​ shop's deliveries is 7.1 minutes. Complete parts a and b below. a. Is there support for the​ shop's claim using the criteria that the sample average of 30.7 minutes falls within the symmetrical interval that includes​ 95% of the sample means if the true population mean is 27 ​minutes?...
You are analyzing the stock of Pizza Hub, an online pizza delivery company. Your estimate of...
You are analyzing the stock of Pizza Hub, an online pizza delivery company. Your estimate of the cost of equity is 16 percent. The most recent dividend is $0.20 per share. You expect dividends to grow 15 percent per year for three years and 8 percent per year thereafter. What is your estimate of the stock price?
Godfather Pizza is a popular pizza restaurant near a university campus. This pizza shop is very...
Godfather Pizza is a popular pizza restaurant near a university campus. This pizza shop is very popular as the price is reasonable, and the quality of the pizza is excellent. It has broad range of varieties, which students can choose the type of dough and topping. The everyday sales activity is high, which keep this pizza shop busy. However, Greg Taylor, the accountant   noticed that there is a small profit compares to the sales. Greg starts analyzing the efficiency of...
Pompeii's Pizza has a delivery car that it uses for pizza deliveries. The transmission needs to...
Pompeii's Pizza has a delivery car that it uses for pizza deliveries. The transmission needs to be replaced and there are several other repairs that need to be done. The car is nearing the end of its life, so the options are to either overhaul the car or replace it with a new car. Pompeii's has put together the following budgetary items: Present Car New Car Purchase cost new    $30,000 Transmission and other repairs $8,500 Annual cash operating cost...
A customer wants to estimate the average delivery time of a pizza from the local pizza...
A customer wants to estimate the average delivery time of a pizza from the local pizza parlor. Over the course of a few months, the customer orders 28 pizzas and records the delivery times. The average delivery time is 20.06 with a standard deviation of 5.271. If the customer estimates the time using a 95% confidence interval, what is the margin of error? Question 1 options: 1) 2.0439 2) 1.6967 3) 0.9961 4) 0.6215 5) 2.0405 Question 2 (1 point)...
Pompeii's Pizza has a delivery car that it uses for pizza deliveries. The transmission needs to...
Pompeii's Pizza has a delivery car that it uses for pizza deliveries. The transmission needs to be replaced and there are several other repairs that need to be done. The car is nearing the end of its life, so the options are to either overhaul the car or replace it with a new car. Pompeii's has put together the following budgetary items: Present Car New Car Purchase cost new    $32,000 Transmission and other repairs $8,500 Annual cash operating cost...
You are starting a family pizza parlor and need to buy a motorcycle for delivery orders....
You are starting a family pizza parlor and need to buy a motorcycle for delivery orders. You have two models in mind. Model A costs $8,200 and is expected to run for 7 years; Model B is more expensive, with a price of $13,600, and has an expected life of 9 years. The annual maintenance costs are $760 for Model A and $740 for Model B. Assume that the opportunity cost of capital is 9 percent. Calculate equivalent annual costs...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT