🙏 We really need your support. We need funding to continue our mission: publishing new lessons and improving the platform. If you can, please support the project with a donation. Help the project now →
SQL code copied to buffer
Task 23:

Rank Employee Salaries

Rank employees depending on their salary so that the employee with the maximum salary is in first place.
Output the resulting table from three columns FULL_NAME, SALARY and RANK.
Sort the result by rating, and if the ratings match, by full name.

Use Firebird syntax to write your answer. Descriptions of tables are provided in the right pane.

Write your request in the field below and click the "Check it!" button.
Tutorial Get hint
Copy code Clear editor

Hi! Could we please enable some services and cookies to improve your experience and our website?

Privacy & Cookie Policy.