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

Published: 12 December 2020
on channel: A2Z Tutorials
266
2

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.


Watch video SQL Tutorial - Sorting data by multiple columns in SQL- Lesson 022 online without registration, duration hours minute second in high quality. This video was added by user A2Z Tutorials 12 December 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 266 once and liked it 2 people.