The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
MYSQL Server 2012 is very confusing when you have an instructor for online course that doesn't amswer questions or provide any backup support to material in the book. I'm attaching two files that I need your assistance on. You did an awesome job  the last time and thank you in advance for same again.
Both files are using MYSQL Server 2012 Northwind Database.
Â
CPT 242SQL Assignment 41. Show the average price, lowest price and highest price for all products. Name the columns to match thefunction being used.2. Show the customer ID and the Average Freight Charge for each customer3. Show the same information in step 2 but only for customers who have an average freight cost more than $100.4. Show each Employee’s ID along with their first and last name and their most recent order date.5. Show the product Id and the number of times the product has been ordered for products ordered more than50 times. HINT: use the order items table **6. Display the OrderID, the pre-discount price (name the column Full Retail Price) for all orders and the finalprice (name the column Final Price) for all orders.**bonus points for displaying only 2 numbers to the right of the decimal in the Final Price Column***7. Northwind traders would like to know how many times each shipper has shipped each product.Write a select query that returns the product ID, Product name, shipperId and Shipper name and a field thatshows how many times the shipper has been used for each product.
CPT 242SQL Assignment 51.Find outhow manyorders were shipped late.An order is shipped late if the shipped date is later than therequired date.Call the expression Shipped Late.2.List the Product ID, Product Name, Units in Stock and CategoryID of all products in Category 2whose number of units in stock is more than average of all products. **Hint: Use a subquery3.List the Product ID, Product Name, Units in Stock and CategoryId of all products whosenumber ofunits in stock is more than the average units in stock of the products in Category 2.**Hint:Use a subquery4.Using a subquery, list the Customer ID, Contact name, and country for all customers who do not live inUSA, UK, Australia or Canada.5.Using a subquery find all customers with no orders.6.List the Employee ID and employee name (concatenate first and last names) who report to AndrewFuller.Order the list by last name.7.Show the Customer ID, Company Name and Contact Name of all customers with a company name thatis, at most, 12 characters in length.
Attachments:
-----------