Question: imagine you are managing a database for a book store. the table book sales contains information about sales transaction.each row represents a sale including the
imagine you are managing a database for a book store. the table book sales contains information about sales transaction.each row represents a sale including the book title the quantity sold the sales date and the total revenue generated your task is to write a query that retrieves the books that have a total quantity sold greater than and an average revenue for book greater than the average revenue generated should be rounded to to decimal places output the results in descending order of average revenue per book
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
