Search the Whole World Here.,.,

SQL - ORDER BY Several Columns Example


The following SQL statement selects all customers from the "Customers" table, sorted by the "Country" and the "CustomerName" column:

Example

SELECT * FROM Customers
ORDER BY Country, CustomerName;
Try it Yourself »


EmoticonEmoticon