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