sql server order by desc code example
Example 1: descending order sql
SELECT *
FROM employees
ORDER BY employees.employee_id DESC ;
· Ascending ( ASC)
· Descending ( DESC)
Example 2: sql desc
Used with ORDER BY to return the data in descending order.
Example: Raddish, Peaches, Bananas, Apples