The ORDER BY clause is used to sort the data output in ascending or descending order. ORDER BY clause sorts the records in ascending order by default. To sort the records in descending order, use the DESC keyword.
Quick Reference:
Order By Syntax: SELECT column_name1, column_name2 FROM table_name ORDER BY column_name1, column_name2 DESC
Example: SELECT employee_id, first_name, last_name, hire_date, job_id,salary FROM employees ORDER BY Job_id, Salary DESC