Find the amount of order for ingredients in the next week

Assignment Help Database Management System
Reference no: EM131437039

Database Management Assignment

Part 1: Requirements

Data Requirements - outlining the major data items

Transaction requirements - outlining the data manipulation and queries

Business Rules

Part 2: EER Model with data dictionary

EER Model

Documentation - Data dictionary details

References

Part 1: Requirements

Data Requirements - outlining the major data items:

1. Gourment_Pizza: The name of the shop that stores information about the shop like registration number, address and contact number. The shop performs the various activities like order processing and employee managing as well describes its menus and items.

2. Customer: This entity stores information of physical customers who want to place order by phone or walk-in. Customer's phone number is stored for order booking by phone and customer's name is stored for order booking by walk-in into the shop. The database also stores a unique number for each customer.

3. Item: It contains details information of offered pizza items by Gourmet Pizza like a unique item number, name, size and current selling price for the item.

4. Ingredient: This data item contains information about required various ingredients for making items including unique number, type, name, description, suggested current stock level, reorder level and last date when stock record was taken.

5. IngredientOrder: This data item is needed for keeping records of order ingredients in the next week with the attributes like unique order number, stock take is taken each week, order for week and amount of order ingredients for the following week.

6. Supplier: This data item is used to keep all information about suppliers who used to supply ingredients weekly. This information should be unique supplier number, supplier's name, address and contact number.

7. Order: This data item stores all information about a particular order by the Customer. These information must include  unique order number, date of the order, name of the item that is ordered, quantity for the item, price, discount amount, discount code if any for the order, tax chargeable, method of payment (cash or card), status, type and description for the order. The order can be categorized as, confirmed order (after confirmation by the Assistant), Pending order (for hoax customer's order), Phone order (contains phone duration and call terminate time) and walk-In order (stores customer's name).

8. Employee: It stores all information about employees for the shop. This information includes unique employee number, first name, last name, address, contact number, tax file number, payment rate, status and description. The attribute, bank details (contains back code, name and account number) given by each employee is also stored here. The employees are categorized into two types, ShopWorker and Driver.

ShopWorker: This data item contains unique number for the shop worker, start date & time, end date & time, payment rate/hour and total calculated pay for each shift. Each shift is calculated by end date& time- start date& time.

Driver: This data item contains license number of the driver, start date & time, end date & time, number of order delivered/shift, payment rate/order and total calculated pay for each shift. Each shift is calculated by end date& time- start date& time.

9. Discount_Scheme: This data item is required for storing details information about a particular discount program of some items offered by the Shop. These information should be discount code, the start date of discount program, end date of discount program, requirements for discount, discount percentage and a description

10.  Payment: It stores information about payment including card and cash payment paid by the Customer. It must contain date of payment, amount of payment and mode of payment.  In case of card payment, a unique approval number and for cash payment, a transaction number is maintained.

Transaction requirements - outlining the data manipulation and queries

It can be described as data manipulation operations and queries.

Data Manipulation Operations:

  • Insert/ update/delete a Customer into the database.
  • Insert/ update/delete an Item into the database.
  • Insert/ update/delete an Ingredient into the database
  • Insert/ update/delete an order for Ingredient into the database
  • Insert/ update/delete a supplier into the database
  • Insert/ update/delete an order by customer for menu items into the database
  • Insert/ update/delete a ShopWorker into the database
  • Insert/ update/delete a Driver into the database
  • Insert/ update/delete an office_Assistant into the database
  • Insert/ update/delete a Discount_scheme into the database
  • Insert/ update/delete a payment info made customer into the database

Several Queries for the databases may be as follows,-

  • Searching a confirmed order or pending order or phone call order or walk-in order from database.
  • List all valid customers.
  • Display all items whose current selling price is more than $20.
  • List the item name that is ordered by maximum Customers.
  • List all currently stocked ingredients.
  • Find the amount of order for ingredients in the next week.
  • List all current suppliers.
  • Report of pending order and hoax customers.
  • List all current Drivers.
  • Calculate the total pay of ShopWorker, Mr. Boon for a particular shift.
  • List all discount programs that is presently available in the shop.
  • Find the total amount paid by cash and card by all customers in the month of February 2016.

Business Rules:

  • The Gourmet_Pizza shop offers one or more items for customers.
  • The Gourmet Pizza shop offers one or more discount programs of offered items for customers.
  • The Gourmet Pizza shop manages more than one employee.
  • A customer places one or more orders.
  • Office Assistant maintains and verifies zero or more orders.
  • A customer is specialized as existing, new and hoax.
  • An office Assistant manages a POS (Point of Sale) system.
  • A POS system verifies one or more customers.
  • An office Assistant keeps one or more hoax customers for unconfirmation.
  • An order can be categorized as confirmed, Pending, phone order and Walk-in order.
  • Only existing and new customer proceeds for one payment after order confirmation.
  • A payment can be categorized as card payment and cash payment where card payment should store an approval number and cash payment must store a transaction number.
  • An item is made up of different ingredients.
  • One ingredient can be supplied by many suppliers as well as many ingredients can be supplied by one supplier.
  • A store Manager maintains different ingredients for one ingredient Order database.
  • An Employee can be specialized as a shop worker or a driver.
  • Pays for both types of employees are calculated as per shifting. Where, shifting is calculated as end date & time-start date & time of that employee.
  • The payment rate is fixed per hour basis for the shop worker as well as payment rate is fixed per order basis for driver.
  • Mainly driver is used for phone order delivery and shop worker is used for walk-In customers.
  • The POS system must include assistant's ID and customer's phone.
  • In case of phone order customer; the call duration with call terminating time is recorded as well as for walk-In customer; the customer's name is recorded into the database.
  • Every entity must have a unique key i.e. primary key.

Part 2: EER Model with data dictionary

EER Model:

The Enhanced Entity Relationship (EER) diagram has drawn as per case study of Gourmet Pizza including the shop's order processing, Menu Items, Ingredients and Suppliers as well as Employees. The diagram has presented in the MS-Visio 2007 software where standard UML notation for designing database models is shown.

Attachment:- Assignment Files.rar

Reference no: EM131437039

Questions Cloud

What is the status of union membership today : Conduct an internet search and look for data on union membership today in the US. What is the status of union membership today? What are the experts saying about the need for the continuation of union activities today?
What is the molecular formula of the compound : A gaseous compound containing hydrogen and carbon is decomposed and found to contain 85.63% C and 14.37% H by mass. The mass of 258 mL of the gas, measured at STP, is 0.646 g. What is the molecular formula of the compound?
Explanation and demonstration of moral reasoning : you formulated a concrete ethical question, took a position on that topic, and identified a reason supporting and a reason opposing that position. In the Week Three Assignment, you discussed either deontological or utilitarian theory, applied that..
Explain two selection processes for recruiting new employees : Determine two selection processes for recruiting new employees that could apply to your chosen scenario and then identify five selection criteria that you could use when hiring new employees.
Find the amount of order for ingredients in the next week : INFO6001: Database Management Assignment. Several Queries for the databases may be as follows,- Find the amount of order for ingredients in the next week. List all current suppliers
Carbonyl under acidic and basic conditions : Compare and contrast nucleophilic addition to a carbonyl under acidic and basic conditions. Why can't a Grignard reaction be achieved under acidic condition? For full points, provide mechanism for nucleophilic addition under both basic and acidic ..
Table of ionization constants of weak acids : Suppose 0.733 g of solid NaOH are added to 100 mL of this buffer solution. What is the pH after the addition? Clickhere for the table of Ionization Constants of Weak Acids.
Table of ionization constants of weak acids : Suppose 0.733 g of solid NaOH are added to 100 mL of this buffer solution. What is the pH after the addition? Clickhere for the table of Ionization Constants of Weak Acids.
How much weight should departments place on an applicants : All professional law enforcement agencies conduct a variety of background checks prior to hiring a candidate. If you accept the statement that "past performance is the best predictor of future behavior" then what is your opinion on how much weight..

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd