You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
217 B
MySQL
5 lines
217 B
MySQL
5 years ago
|
/*4.Write a query to create a view to getting a count of how many customers we have at each level of a grade. */
|
||
|
CREATE VIEW gradecount (grade, number)
|
||
|
AS SELECT grade, COUNT(*)
|
||
|
FROM customer
|
||
|
GROUP BY grade;
|