0
1.3kviews
Explain following term: order by clause.
1 Answer
| written 7.1 years ago by |
The SQL ORDER BY clause is used to sort the data in ascending or descending order, based on one or more columns. Some databases sort the query results in an ascending order by default.
Syntax
The basic syntax of the ORDER BY clause is as follows −
SELECT column-list
FROM …