filmov
tv
SQL Tutorial - Sorting data by multiple columns in SQL- Lesson 022

Показать описание
After the ORDER BY keyword, add the name of the column by which you'd like to sort records first (in our example, salary). Then, after a comma, add the second column (in our example, last_name ). You can modify the sorting order (ascending or descending) separately for each column.