7 lines
227 B
SQL
7 lines
227 B
SQL
/*9. Write a query to create a view that shows all of the customers who have the highest grade.*/
|
|
CREATE VIEW highgrade
|
|
AS SELECT *
|
|
FROM customer
|
|
WHERE grade =
|
|
(SELECT MAX (grade)
|
|
FROM customer); |