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
how to create a table index in mysql? : Sql dba
How do I view a sql database?
What type of join is sql join?
How to order siblings in oracle hierarchy queries?
How many types of triggers exist in pl/sql?
What is scalar function in sql?
what is online transaction processing (oltp)? : Sql dba
What is a unique key and primary key and foreign key?
What are the operators used in select statements?
how to use 'mysql' to run sql statements? : Sql dba
How many types of primary keys are there?
Explain what is dbms?
When to use inner join and left join?
What is primary key and foreign key?
what are the different index configurations a table can have? : Sql dba