Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Find attached the Adventureworks dataset, consisting of 4 tables: Customers, Orders, Order Detail and Products. Load them up into MySQL and create the SQL queries
Find attached the Adventureworks dataset, consisting of tables: Customers, Orders, Order Detail and Products. Load them up into MySQL and create the SQL queries below. Show me the query and query results in a PDF
Only one Submission should be made per group.
How many distinct orders were made by customers with a CustomerID in Territories inclusive? The result should be just ONE number
What is the total of all orders under the average order amount in Territories The result should be just ONE number
What were the top bestselling products, by number of orders? columns, rows: Product, # of orders. Count the number of orders that contain each product and choose the top ten that have most orders.
Who were the top best customers, by dollar amount? columns, rows: Product, $ amount
List all products over the thpercentile of sales Variable number of Product Names
What is the average unit price discount for all sold items? One Number
List the products and quantities purchased by the top customers and their dollar value. Output is Columns, multiple rows: Product, Quantity, dollar amt. It is for top customers aggregated
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started