How to get employee name from employee table which is the
fiveth highest salary of the table
Answer Posted / praveen
SELECT TOP 1 salary
FROM
(
select TOP 5 salary
FROM
employee
ORDER BY
salary DESC
) A
ORDER BY
salary
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is clustered and nonclustered index in sql?
How do I create a memory optimized filegroup?
Is sql developer case sensitive?
Is sql microsoft?
How can you tell the difference between an index and a view?
Which sql statement is used to delete data from a database?
Are there any features that are decommissioned in 11g that are not present in 11g?
describe mysql connection using mysql binary. : Sql dba
What is identity column in sql server?
How many commands are in sql?
How can we implement rollback or commit statement in a trigger?
How to write pl sql program in mysql command prompt?
What is the main reason behind using an index?
What is a table in a database?
What is plpgsql language?