Home >> SQL >> Order By in SQL

Order By in SQL

The Order By is used to sort the result set according to ascending or descending order.

Syntax

SELECT * FROM tablename ORDER BY name ASC

Post Your Comment

Next Questions
Group By
Distinct keyword
Sorting
Between
Having
Union
Union all
Exits
Not Exits
Any
All
Max
Min
Avg
Count
Sum

Copyright ©2022 coderraj.com. All Rights Reserved.