Skip to content

Glossary: SQL Basics

Ascending, descending (ASC, DESC)

Also written: ascending, descending, ASC, DESC

Sort directions for ORDER BY. Ascending (the default) puts the smallest, earliest or A-first values on top; descending puts the largest or latest first.

Where the book teaches it

Related terms

ORDER BY