Download the script to create the northwind database from here
Write queries to answer the following questions:
- What is the undiscounted subtotal for each Order (identified by OrderID).
- What products are currently for sale (not discontinued)?
- What is the cost after discount for each order? Discounts should be applied as a percentage off.
- I need a list of sales figures broken down by category name. Include the total $ amount sold over all time and the total number of items sold.
- What are our 10 most expensive products?
- In which quarter in 1997 did we have the most revenue?
- Which products have a price that is higher than average?