Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Display for each product the product name and the total sales that is greater than the average of total sales for all products in that
Display for each product the product name and the total sales that is greater than the average of total sales for all products in that category.
hint: To calculate the comparison value, you must first SUM the sales for each product within a category and then AVG those sums by category.
(13 Rows) SQL Queries For Mere Mortals Chapter 14 Sales Order #2
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