About 3,220,000 results
Open links in new tab
  1. SQL ORDER BY Keyword - W3Schools

    To sort the table reverse alphabetically, use the DESC keyword: Sort the products by ProductName in reverse order: The following SQL statement selects all customers from the "Customers" table, sorted …

  2. SQL ORDER BY - GeeksforGeeks

    Jan 5, 2026 · SQL ORDER BY is used to sort the result set of a query in either ascending (ASC) or descending (DESC) order. By default, ORDER BY sorts in ascending order. Sorting can be applied …

  3. ORDER BY clause (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · DESC sorts from highest value to lowest value. ASC is the default sort order. NULL values are treated as the lowest possible values.

  4. SQL ORDER BY DESC - TutorialsCampus

    ORDER BY DESC statement is used to sort data in result-set in descending order. ORDER BY DESC statement is used in SELECT statement.

  5. SQL ORDER BY Clause (With Examples) - Programiz

    The SQL ORDER BY clause is used to sort the selected rows in ascending or descending order. In this tutorial, you will learn about the SQL ORDER BY clause with the help of examples.

  6. ORDER BY in MySQL: DESC & ASC Query with EXAMPLE - Guru99

    Jul 17, 2024 · The MySQL DESC keyword specifies that the sorting is to be in descending order. [LIMIT] is optional but can be used to limit the number of results returned from the query result set.

  7. SQL: ORDER BY Clause - TechOnTheNet

    DESC sorts the result set in descending order by expression. If the ASC or DESC modifier is not provided in the ORDER BY clause, the results will be sorted by expression in ascending order. This …