Order By

•Sort retrieved rows with ORDER BY clause:
•Comes last in the select statement
ASC : ascending order, default
DESC : descending order

Select last_name, job_id, department_id, hire_date
From employees
Order by hire_date desc;





0 comments:

Post a Comment