sql quary intervewi question 1

sql quary intervewi question

SELECT TOP N * FROM EmployeePosition ORDER BY Salary DESC;

Here is what the above code is Doing:
1. We’re selecting the top N rows from the EmployeePosition table.
2. We’re ordering the results by the Salary column in descending order.

Similar Posts