Multiple Choice
Based on the SQL shown, for each sales rep, which query lists the rep number, the number of customers assigned to the rep, and the average balance of the rep's customers? Group and order the records by rep number. Customers ( CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, CreditLimit, RepNum )
A) SELECT RepNum, AVG(Balance) FROM Customers GROUP BY RepNum ORDER BY RepNum;
B) SELECT RepNum, COUNT(RepNum) , AVG(Balance) FROM Customers GROUP BY RepNum ORDER BY RepNum;
C) SELECT RepNum, COUNT(*) , AVG(Balance) FROM Customers GROUP BY RepNum ORDER BY RepNum;
D) SELECT RepNum, COUNT(*) FROM Customers GROUP BY RepNum ORDER BY RepNum;
Correct Answer:

Verified
Correct Answer:
Verified
Q40: In Access SQL, you use the asterisk
Q41: In Access SQL, which operator do you
Q42: When you place one query inside another,
Q43: Which of the following SQL statements selects
Q44: What SQL command do you use to
Q45: Which of the following operators allows you
Q46: The Clients table contains 12 records with
Q48: Which command joins the related Customers and
Q49: When do you use the & operator
Q50: Fields appear in alphabetical order based on