Phone: +1 (917) 983-8020




Please use the attached file to download the database needed to answer the following questions, run the scripts in MySQL, and remember, when running this sql file, it’ll need mysql to be out of safe mode

What employees have last names that begin with “D”?
What customers have marketing in their title?
How many territories are there?
How many territories are there in each region?
What suppliers are from the USA?
What’s the average unit price of products?
What’s the average unit price for and count of products that are out of stock? (stock = 0, not counting things ordered.)
Which employees have ‘BA’s?
What are the top 10 orders according to quantity?
How many regions do each employee work?
What were the top 10 orders according to final cost? (quantity x unit cost)

12: What was the average time from order to shipping for each employee? (shipping Date – order date)The post playing-with-sql first appeared on Term Paper Tutors.

Scroll to Top