Please specify how you queried the database for each question

Assignment must be completed under Microsoft workbench

Explain how you go to your answer

If you haven’t already, please run this SQL script in MySQL to install the northwind database. You will use this database for the rest of this assignment.

For Answers, please rename this sql file with your name, and use space below each question number to copy in SQL Script.

What employees have last names that begin with “D”?

  1. What customers have marketing in their title?
  2. How many territories are there?
  3. How many territories are there in each region?
  4. What suppliers are from the USA?
  5. What’s the average unit price of products?
  6. What’s the average unit price for and count of products that are out of stock? (stock = 0, not counting things ordered.)
  7. Which employees have ‘BA’s?
  8. What are the top 10 orders according to quantity?
  9. How many regions do each employee work?

What were the top 10 orders according to final cost? (quantity x unit cost)
What was the average time from order to shipping for each employee? (shipping Date – order date)

"Order a similar paper and get 100% plagiarism free, professional written paper now!"

Order Now