Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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
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