Solved

Based on the Code Above,for Each Sales Rep,list the Rep

Question 24

Multiple Choice

Based on the code above,for each sales rep,list the rep number,the number of customers assigned to the rep,and the average balance of the rep's customers.Group the records by rep number and order the records by rep number.​


A) ​SELECT RepNum, AVG(Balance) FROM Customer GROUP BY RepNum ORDER BY RepNum ;
B) ​SELECT RepNum, COUNT(*) , AVG(Balance) FROM Part GROUP BY RepNum ORDER BY RepNum ;
C) ​SELECT RepNum, COUNT(*) , AVG(Balance) FROM Customer GROUP BY RepNum ORDER BY RepNum ;
D) ​SELECT RepNum, COUNT(*) FROM Customer GROUP BY RepNum ORDER BY RepNum ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents