Question: Write a query to display each sales reps ID and the total number of customers that they have. Only include those reps that have more

Write a query to display each sales reps ID and the total number of customers that they have. Only include those reps that have more than 10 customers.

Write a query to display each sales reps ID and the total

SalesRep PK RepID varchar(20) varchar(20) PK CustomerlD int LastName FirstName CommissionRatedecimal(10,2) LastName vrchar(20) FirstName varchar(20) Street varchar(20) varchar(20) char(2) Zipcode chr(5) Balance decimal(10,2) -0 P OrderlD int FK1 ReplD FK1 CustomerlD int OrderDat date ShipDate date Part PK PartID Description varchar(20) UnitsOnHand int ItemClass PK,FK1 OrderlDint PK,FK2 PartIDint decimal (10,2) decimal(10,2) Quantityint

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!