Home >> SQL >> Sorting in SQL

Sorting 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
Between
Having
Union
Union all
Exits
Not Exits
Any
All
Max
Min
Avg
Count
Sum

Copyright ©2022 coderraj.com. All Rights Reserved.