How to arrange column data items in ascending or descending order in sql?
Answers
Answered by
2
Explanation:
The ORDER BY statement in sql is used to sort the fetched data in either ascending or descending according to one or more columns.
By default ORDER BY sorts the data in ascending order.
We can use the keyword DESC to sort the data in descending order and the keyword ASC to sort in ascending order.
Answered by
1
〰〰〰〰〰〰〰〰❤
The ORDER BY statement in sql is used to sort the fetch data in either ascending or descending according to one or more columns
By default ORDER BY sorts the data in ascending order
We can use the keyword DESC to sort the data in descending order and the keyword ASC to sort in ascending order.
__________________❤
Similar questions
History,
5 months ago
English,
5 months ago
English,
5 months ago
Environmental Sciences,
11 months ago
English,
11 months ago