Sorting Results with ORDER BY in MySQL
Published November 14, 2026
By Sai Sree Ram Gundepudi
Example
SELECT * FROM employees ORDER BY salary DESC;You can sort by multiple columns using commas.