Based on the below tables (Entity-Relationship Model), develop a Structured Query Language using MySQL for Walmart that
Fantastic news! We've Found the answer you've been seeking!
Question:
Based on the below tables (Entity-Relationship Model), develop a Structured Query Language using MySQL for Walmart that contains the following items:
1. Provide the scripts needed to create the above tables.
a. Data Manipulation (DML) Scripts:
- Insert at least 10 records into each table.
- Delete a record from any table using its unique identifier (primary key) field.
- Update a record in any table using its unique identifier (primary key) field.
- Add 2 to 3 of your own DML scripts to manipulate data in your database.
2. Include scripts with the following queries for reporting:
- Total number of orders by customer.
- Total number of orders by product.
- Provide 2 to 3 aggregate function scripts to show use of AVG, MAX, MIN, COUNT or SUM.
3. Give a narrative of how this design fulfills the mission and goals of Walmart.
Related Book For
Financial Reporting Financial Statement Analysis and Valuation a strategic perspective
ISBN: 978-1337614689
9th edition
Authors: James M. Wahlen, Stephen P. Baginski, Mark Bradshaw
Posted Date: