Sorting
Introduction
Example
SELECT e.LastName, e.Salary
FROM Employee e
ORDER BY e.Salary DESC, e.LastName ASCSorting and Indexes
CREATE INDEX EmployeeIndex ON Employee (Salary DESC, LastName ASC)Last updated