Explain how to sort the rows that are retrieved by a query.?
Rows that are returned by a query can be sorted using the ORDER BY clause. By default, the rows are sorted in ascending order. Example: sql>Select * from emp ORDER BY sal DESC;
sql>Select * from emp ORDER BY sal DESC;