Skip to content

Order By

Ujjwal Gupta edited this page Oct 23, 2018 · 1 revision

Order By is used to sort the data in ascending or descending order, based on any column.

Select * from Table_Name Order by column_name sort_type;

e.g -

select * from Customers order by Country desc
Clone this wiki locally