Suppose, if you want to sort the table by Employee names in ascending order and Salaries in Ascending order. Here is the SQL query to order the table by employee name and salaries:
SELECT *
FROM Employee
ORDER BY Employee_Name, Salary DESC
The above query first sorts table by Employee names in alphabetical order. If employee names are the same then sorts those records with the same names by Salary column in descending order.
If you want to learn SQL and writing SQL queries, you can learn by registering for SQL Certification program by Intellipaat that provides Instructor-led training, certification, and also job assistance.