Question: This assignment has two parts - you will first need to load the Campus Eats database before completing the assignment. This can be a group
This assignment has two parts you will first need to load the Campus Eats database before completing the assignment. This can be a group assignment up to total students or individual. If you want to work with a group, you need to use "selfassign" to join a group with teammates that have agreed to join your group in the "Assignment groups. You can simply drag your members into a group designed by "Assignment and a number. If you want to work individually, you do not have to selfjoin a group.
Creating the Campus Eats Database:
For this assignment, you will use the campuseats.sql script to create the CampusEats database. Campus Eats is an on campus" restaurant delivery app with a relational database in the back end.
Getting Started
Step : Use the script to create the database script linked below in MySQL Workbench. Remember to refresh your schemas after running the script.
Step : After creating the database, reverse engineer to the entity relationship diagram: From the menu select:
Database, reverse engineer, select Campus Eats database only.
Next Steps:
A Study the database EERD to familiarize yourself with the CampusEats database. This database tracks food deliveries on a campus.
B Using the Campus Eats Database, create the following stored procedures or functions. Turn in screen shots showing the code and results in a PDF document, along with the SQL code.
Using Murach script as a guide, create a stored procedure or function that inserts a new row into the Restaurant table. Test with good and bad data.
Using Murach script as a guide, create a stored procedure or function that returns the DriverName given the DriverID Test the function.
Using Murach script as a guide, create a stored procedure or a function that returns the max, min and avg ratings for Restaurants. Test the function.
Deliverable: PDF or Word Document with screen shots showing the SQL statements include a comment with your name and the output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
