how to sort multiple column in sql etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
how to sort multiple column in sql etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

6 Nisan 2017 Perşembe

Sorting Multiple Columns in SQL

SELECT * FROM customers
ORDER BY CustomerName, ContactName;

In this usage, if you have some results that has the same CustomerName, these  results will be ordered by the ContactName .