With the help of SQL Order By statement we can sort our data in a table either in ascending order or descending order based upon the user, what he wants. Note -> Some Databases have already sort the data order by default . Syntax :
select expression from table_name where clause order by expression Asc / Desc ;
With SQL Order By Clause we can do other task also like : 1) SQL Order By Random -> Using this we can get our data in random order . 2) SQL Order By Limit -> Using this we can get limited data from database . 3) SQL Order By Multiple Columns -> Using this we can get sort data from multiple columns .