Computer Science, asked by Hahao72571, 11 months ago

How to arrange column data items in ascending or descending order in sql?

Answers

Answered by Anonymous
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 Itzcrush93
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