SELECT Statement

SELECT statement with ORDER BY clause

You use the ORDER BY clause to sort the records in the resulting list. Use ASC to sort the results in ascending order and DESC to sort the results in descending order.

For example, with ASC:

SELECT *
FROM Employees
ORDER BY HireDate ASC

And with DESC:

SELECT *
FROM Books
ORDER BY type, price DESC