Question: Provide an SQL query for the following: 11. Show the product id, product name for the product each sales representative has sold the most based

Provide an SQL query for the following:

11. Show the product id, product name for the product each sales representative has sold the most based on the total quantity. The query must return sales representative first and last name along with product id, product name, and total quantity sold.

a. highest selling category for each sales rep. Hint: Highest selling item is the item with the highest total quantity sold.

Provide an SQL query for the following: 11. Show the product id,product name for the product each sales representative has sold the mostbased on the total quantity. The query must return sales representative first

salesrep Columns (5) repid repfirstname replastname phone i commission orderinfo Columns (14) id orderid i orderdate shipdate i shipmode customernumber i productid i category 1 subcategory productname unitprice i quantity discount profit customer Columns (13) i customernumber customername contactlastname i contactfirstname iphone addressline 1 i addressline2 city i state postal code country i salesrepemployeenumber creditlimit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!