ORDER BY Clause
SELECT column1, column2, ...
FROM table_name
ORDER BY column1, column2, ... ASC|DESC;SELECT *
FROM table_name
ORDER BY Column1, Column2;
Example:
SELECT *
FROM Customers
ORDER BY Country, CustomerName;
Example 2:
SELECT *
FROM Customers
ORDER BY Country ASC, CustomerName DESC;Last updated