how to sort in sql ascending code example
Example 1: ascending order in sql
SELECT *
FROM employees
ORDER BY employees.employee_id DESC ;
· Ascending ( ASC)
· Descending ( DESC)
Example 2: order by in sql
ORDER BY: is for sorting result
either in descending or ascending order.