Question: 1. Write an SQL query to show the top 10 best-selling products by total Qty (i.e., quantity). 2. Write an SQL query to show the

1. Write an SQL query to show the top 10 best-selling products by total  Qty (i.e., quantity). 


2. Write an SQL query to show the total gross  sales revenues each department makes by selling each brand. 


3. Write an  SQL query to show the total net sales revenues each department makes  in-store and online respectively.  


4. Write an SQL query to show how  many customers are served by all cash registers of Store #1 per hour?  (Note: Store Key should be 1 because only Store #1’s cash registers are  of analytical interest. The fact table records data from each scan. So,  you should not use SUM(Qty) because the question asks the total number  of customers per hour, not the

Step by Step Solution

3.50 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here are SQL queries for each of the questions Show the top 10 bestselling products by total quantit... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!