Friday, 15 January 2016

ORDER BY clause

In this article, we will see the  ORDER BY clause Sql.

The SQL ORDER BY clause is used to sort the data in ascending or descending order, based on one or more columns. Some database sorts query results in ascending order by default.


SELECT column_name, column_name
FROM table_name
ORDER BY column_name ASC|DESC

Let's see the program for this.


No comments:

Post a Comment