Introduction to Order by clause

9/14/2020 6:52:24 AM

Introduction to Order by clause: In the order by clause in order by the data from column name, by default the value order by ascending we can use the order by clause for desyncing order using desc key word. Now given bellow the example code and explain the code:

select * from Salary order by Salary desc

In this code we use the salary table then show the all table value and order by salary. This table value shows the value ascending base on salary column then I use the desc key word for show the value descending order.