SQL assignment - you can use the free link https://sqliteonline.com/ Attached assignment As a new intern working in a small music company, you have been asked to look into the database and generate mo

Individual Descriptive Report – BUSI 650 Business Analytics

Spring 2023 – Dr. Said Baadel

Student Name: Student ID:

Answer all Questions on the spaces provided. For all the questions below, provide the code and output. The screenshots MUST include the date/time on your computer/laptop for it to be graded. This assignment should be individual work. Once completed, save the file as a PDF, and submit.

** I agree that the work in this assignment is my own work. I acknowledge that I am expected to exercise the utmost academic integrity in all work submitted for this course. I also acknowledge that I have read the FAQ posted on Moodle and understand the consequences of Plagiarism. **

As a new intern working in a small music company, you have been asked to look into the database and generate monthly reports of items sold in the store. Copy and run the code provided to create the tables for the database. Write simple SQL queries that will display output according to the requirements below.

Note: For the script provided: run each table script individually, NOT the entire script at once.

  1. Display an output of customer details. The output fields should be displayed in order and exactly as shown here (with the spaces): Last Name, First Name, City, and Phone #. (2 Marks)

  1. Display an output of the order details. The output fields should be displayed in order and exactly as: Order ID, Quantity Ordered, Order Date, and Date Shipped. (2 Marks)

  1. Display an output of the customers and order details. The output fields should be displayed in order and exactly as: Last Name, First Name, Item ID, Title of Song, Artist, Quantity, and Unit Price. The list should be ordered in descending order based on last name. (4 Marks)

  1. Given the output from above, use your statistical skills to calculate the average, median, and mode of the unit price. Show your work. (2 Marks)