SQL - ORDER BY Several Columns Example Knowledge Based Info. MySQL The following SQL statement selects all customers from the "Customers" table, sorted by the "Country" and the "CustomerName" column: Example SELECT * FROM CustomersORDER BY Country, CustomerName; Try it Yourself » Share this Share on FacebookTweet on TwitterPlus on Google+
EmoticonEmoticon