Answerer the following question with he reference of diagram given below SQL query to return the 10
Fantastic news! We've Found the answer you've been seeking!
Question:
- Answerer the following question with he reference of diagram given below
- SQL query to return the 10 most recently shipped orders with freight costs less than 50. Remember to filter out null ShippedDates by using the IS NOT NULL keywords. (Hint: OrderID include 11067, 11069, etc.)
- SQL query that shows the total number of orders for each customer in descending order. (Hint: CustomerID of SAVEA is on the top)
- SQL query to determine the top 5 customers with the most orders after the year 1996. (Hint: went over in lab :)
- SQL query to list the top 3 Employees that have the most total freight costs from all of the orders they worked on between Jan 31, 1996 and April 1, 1998. (Hint: Margaret Peacock)
- SQL query to determine which product has the largest number of days between its first and most recent order. (Hint: Queso Cabrales/Tofu)
- SQL query to determine which Category of Products had the most orders and the highest total freight cost in the year 1998. (Hint: Beverages)
- SQL query to determine which DISTINCT Beverages were ordered in the year 1996 from suppliers based in the USA or UK.
Related Book For
Posted Date: