programming-examples/sql/FormattingOutput/Write a SQL statement to display customer name, city and grade in such a manner that, the customer holding highest grade will come first.sql
2019-11-18 14:05:53 +01:00

5 lines
212 B
SQL

/*Write a SQL statement to display customer name, city and grade in such a manner that,
the customer holding highest grade will come first.*/
SELECT cust_name,city,grade
FROM customer
ORDER BY 3 DESC;