Ask DBMS Expert


Home >> DBMS

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

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92245801

Have any Question?


Related Questions in DBMS

Data mining assignment -in this assignment you are asked to

Data Mining Assignment - In this assignment you are asked to explore the use of neural networks for classification and numeric prediction. You are also asked to carry out a data mining investigation on a real-world data ...

Sql query assignment -for this assignment you are to write

SQL Query Assignment - For this assignment you are to write your answers in a word document. This assignment is in three parts: Part A (reporting queries), Part B (query performance), Part C (query design). For this assi ...

The groceries datasetimagine 10000 receipts sitting on your

The groceries Dataset Imagine 10000 receipts sitting on your table. Each receipt represents a transaction with items that were purchased. The receipt is a representation of stuff that went into a customer's basket. That ...

You are in a real estate business renting apartments to

You are in a real estate business renting apartments to customers. Your job is to define an appropriate schema using SQL DDL in MySQL. The relations are Property(Id, Address, NumberOfUnits), Unit(ApartmentNumber, Propert ...

Objectivethe objective of this lab is to be familiar with a

OBJECTIVE: The objective of this lab is to be familiar with a process in big data modeling. You're required to produce three big data models using the MS PowerPoint software. This tool is available on UMUC Virtual Deskto ...

The relation memberstudentid organizationid roleid stores

The relation Member(StudentId, OrganizationId, RoleId) stores the membership information of student joining organization. For example, ('S1', 'O2', 'R3') indicates that student with Id 'S1' joined the organization with i ...

Relational database exerciseyou have been assigned to a new

Relational Database Exercise: You have been assigned to a new development team. A client is requesting a relational database system to manage their present store with the anticipation of adding more stores in the future. ...

Relational database design a given the following business

Relational Database Design A) Given the following business rules, identify entity types, attributes (at least two attributes for each entity, including the primary key) and relationships, and then draw an Entity-Relation ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain unde ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As