This question asks for the 5th highest salary from the "Employees" table. The example input is a table with id, name, and salary columns, and the example output is a table with a salary column.
The solution above is optimal because it uses the LIMIT clause to limit the number of rows returned by the query.
Evaluated at: 2023-02-02 23:06:04