DESC

An ORDER BY direction that sorts from higher values to lower values.

What does DESC do in a relational database?

DESC — An ORDER BY direction that sorts from higher values to lower values.

SELECT order_id, ordered_on
FROM purchase_order
ORDER BY ordered_on DESC;

Level: Novice · More Database terms at this level

Updated