Computer Science for IGCSE & O level - Databases (Section 5 - No. 13)
What is the main purpose of the ORDER BY clause in an SQL query?
To specify the table from which to retrieve data.
To sort the results of a query.
To filter data based on conditions.
To group similar records together.
Explanation
The ORDER BY clause in SQL sorts the result set of a query based on one or more specified columns.
Comments (0)
