Multiple Choice
Based on the code 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? The records are grouped by rep number and ordered by rep number.??Customer ( CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, CreditLimit, RepNum )
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:

Verified
Correct Answer:
Verified
Q17: What are some common restrictions placed on
Q18: Based on the code shown, which query
Q19: One common restriction placed on table and
Q20: There is no difference between the COUNT
Q21: You can use the SQL CREATE TABLE
Q23: Based on the code shown, which query
Q24: SQL is the standard language for relational
Q25: Based on the code shown, which query
Q26: The BETWEEN operator is exclusive; it includes
Q27: Based on the code shown, which query