Lesson 6. Sorting Data
You sort data by using the ORDER BY clause.
Data can be ordered in ascending order or descending order by using ASC or DESC respectively in your ORDER BY clause.
You can order the data using as many columns as you like. You can even specify ascending or descending on each column.
Examples
One Column
More Than One Column
One Column Descending And Ascending
Multi-Column With Mixed Ordering
Last updated