Create a Database Order Information - Referential Integrity Constraint - Engineering Assignment Help

Download Solution Order New Solution
Assignment Task :

PURPOSE

The purpose of this assignment is to strengthen student’s understanding on the concepts of data manipulation by using DBMS. 

 

REQUIREMENT

In line with the Movement Control Order (MCO) issued by the Government on March 16, 2020 to contain the Covid-19 pandemic, all restaurants were ordered to remain closed during the MCO period. 

 

Based on these schemas, you are required to: 

 

  1. Create a Database Order Information, or any suitable name.

  2. Create CUSTOMER, RESTAURANT, FOOD, ORDERLIST and DELIVERY tables. 

  3. Produce sample records for each table that observes the Referential Integrity Constraint. FIVE records per table are enough. The data inserted must satisfy the following constraint:

  • there are at least 3 restaurants and each restaurant have at least serve 2 foods 

  • each customer can makes one or more order and the order can be have more than one foods

  • each delivery may contain multiple order list.

 

  1. Provide SQL statement and its result based on the records added earlier for the following task:

  • List number of food based on food type.
  • List all food sold by each restaurant with type “steakhouse” (you may also use the available restaurant type inserted earlier).
  • List all customer details who lives in “Johor Bahru” (you may also use the available customer address inserted earlier).
  • Produce Total-Purchase information by getting the overall total purchase for restaurant type “fast food” (you may also use the available restaurant type inserted earlier).
  • Display full detail of customer, total number of orders made and the overall total order amount made by the customer.

  • Update expiry hour for all food sold by restaurant name "KEMANGI KOPITIAM" (you may also use the available restaurant name inserted earlier) with additional 2 hours. You are required to show before and after update records.

  • Display full customer name, food name, food type, order date and order price for all order delivered on the last 30 days.

  • Modify the DELIVERY table by adding in new column entry for update status of delivery by each dispatch.

 

  1. Create ONE form to handle the Order-Entry. The form must be able to enter and display data.

 

This Engineering Assignment has been solved by our Engineering Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.