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.

4 lines
160 B
SQL

/*Write a SQL statement which selects the highest grade for each of the cities of the customers.*/
SELECT city,MAX(grade)
FROM customer
GROUP BY city;