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

    The ORDER BY keyword is used to sort the result-set in ascending or descending order. The ORDER BY keyword sorts the records in ascending order by default. To sort the records in descending order, use the DESC keyword.

  2. MySQL ORDER BY Clause - GeeksforGeeks

    Jun 12, 2024 · The ORDER BY Clause in MySQL is a powerful tool that allows you to sort the result set of a query in ascending or descending order based on one or more columns. It is an essential part of querying databases when you want to retrieve data in a specific order.

  3. MySQL ORDER BY - MySQL Tutorial

    Show you how to use the MySQL ORDER BY clause to sort rows in the result set by one or more columns in ascending or descending order.

  4. MySQL ORDER BY with practical examples

    In this article, you learned how to use MySQL ORDER BY clause sort the rows in ascending and descending order, and how to implement custom sorting. The main points of the ORDER BY clause are as follows:

  5. MySQL: ORDER BY Clause - TechOnTheNet

    This MySQL tutorial explains how to use the MySQL ORDER BY clause with syntax and examples. The MySQL ORDER BY clause is used to sort the records in your result set.

  6. How To Use MySQL ORDER BY Clause [With Code Examples]

    Apr 1, 2025 · Learn to use the MySQL ORDER BY Clause with the help of programming examples in this hands-on tutorial: MySQL ORDER BY is a command or clause that is generally used along with SELECT Queries, to SORT the returned …

  7. MySQL ORDER BY Clause: Usage & Examples - DataCamp

    Learn how to use the MySQL ORDER BY clause to sort query results by columns in ascending or descending order with examples and best practices for optimal performance.

  8. MySQL ORDER BY Clause – How to Sort Records In A Table?

    Nov 4, 2020 · MySQL provides you with the ORDER BY clause to sort data in a table in ascending or descending order. You can get the sorted data by using the ORDER BY clause with the SELECT statement. SELECT expression FROM table_name ORDER BY column1_name [ASC | DESC], column2_name [ASC | DESC]...; Code language: SQL (Structured Query Language) (sql)

  9. MySQL :: MySQL Tutorial :: 4.4.4 Sorting Rows

    It is often easier to examine query output when the rows are sorted in some meaningful way. To sort a result, use an ORDER. BY clause. Here are animal birthdays, sorted by date: On character type columns, sorting—like all other comparison operations—is normally performed in a case-insensitive fashion.

  10. MySQL Order By Ascending and Descending - Tutorial Gateway

    MySQL Order By clause is used to sort the table data in either Ascending or Descending order. By default, data is not inserted into Tables in any sequence unless you have an index. So, If you want to retrieve the data in any particular sequence, …

  11. Some results have been removed
Refresh