Question: For each information request below, formulate a single SQL query to produce the required information. 1. What is the average shipping cost on a sale?
For each information request below, formulate a single SQL query to produce the required information.
1. What is the average shipping cost on a sale? (Name the column AverageShipping). Also use the Round function to two decimal places for currency, i.e. round ( .. , 2) .
2.What is the average shipping cost on sales made in the month of June? Name the column AverageShipping. Also use the Round function to two decimal places for currency, i.e. round ( ... , 2) .
3. How many products does Redcat have from Manufacturer 154? (Name the column NumberProducts.)
4. What is the largest dollar amount (SalePrice times Quantity) for a sale item that was ever made? Name it LargestItemSale.
5. Which products have the highest list price, and what is that price? (Hint: Use a subquery) Only show product name and the price.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
