programming-examples/sql/FormattingOutput/Write a SQL statement to display the customer name, city, and grade, etc. and the display will be arranged according to the smallest customer ID.sql

5 lines
225 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL statement to display the customer name, city, and grade, etc. and the display will
be arranged according to the smallest customer ID.*/
SELECT cust_name,city,grade
FROM customer
ORDER BY customer_id;