Write a query to create a view to getting a count of how many customers we have at each level of a grade.
Write a query to create a view to getting a count of how many customers we have at each level of a grade.
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
DOWNLOAD ATTACHMENT FOR ANSWER:
CREATE VIEW gradecount (grade, number)
AS SELECT grade, COUNT(*)
FROM customer
GROUP BY grade;