Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw an Entity-Relationship Diagram using MySQL Workbench or equivalent software to capture data requirements for Mama Mias Pizzeria. The deliverable is a complete ER model

Draw an Entity-Relationship Diagram using MySQL Workbench or equivalent software to capture data requirements for Mama Mias Pizzeria. The deliverable is a complete ER model, and a relational schema to document the data model for the following scenario.

All entity class names and attribute names should start with your initials.(My initials are ARZ)

Case Description

Mama Mia's (MM) pizzeria offers pizzas, breadsticks, and Buffalo chicken wings for carry out customers only. Customers phone in the order and come by to pick up their order. When regular customers call MM over phone, they are asked for their phone number. New customers must provide this information before placing orders.

Once the order is taken, the tax, and order total is computed. The order is then printed and submitted to the kitchen where the order is prepared. A receipt is printed and given to the customer. Payment from the customer should be in check or cash only.

Customers may provide coupons. Coupon information (discount applicable and validity period) must be provided when placing the order and the coupon must be submitted when picking up the order.

MM has a set of suppliers who supply the ingredients for their products (pizza & breadsticks) such as flour for pizza crust, cheese, a variety of toppings, chicken wings, spices, as well as other ingredients for the pizza sauce.

MM would like to design a system that would serve the following purposes:

Facilitate order acceptance and tracking

Facilitate generation of daily, weekly, and monthly sales summaries

Facilitate generation of products sold on a daily, weekly, and monthly basis.

Facilitate tracking promotional sales (the ones with coupons).

To maintain the inventory of ingredients so that they can identify which supplier to call if they need a particular ingredient and to keep track of the amount of each they have on hand and on order.

To know the customer preferences in terms of what the customer usually orders. For example when a customer calls in and gives his/her phone number and says "the usual", MM knows exactly what to prepare! MM believes that this will save customers a lot of frustration.

Remember: Schema is written as TABLE_NAME(PrimaryKey, ForiegnKey, Attr1, attr2)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions