SQL ORDER BY Syntax ORDER BY Example In this example, we will use the SELECT statement to build a result-set that includes all fields in the Customers table ordering the results by the LastName field. Results