Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ORDER BY πŸ“

Learning Goals

By the end of this section you will:

  • know how to sort a query’s results

  • know how to sort using mulitple fields

ORDER BY ClauseΒΆ

The SQL ORDER BY keyword is used to sort the result set of a query by one or more columns, either in ascending (ASC) or descending (DESC) order.

Go to the W3schools Tutorial on the ORDER BY Keyword and complete their exercises.