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 can we know the number of days between two given dates using mysql? : Sql dba
how to get @@error and @@rowcount at the same time? : Sql dba
What are triggers in sql?
What is a trigger word?
What is a common use of group by in sql?
is it possible to pass an object or table to a procedure as an argument?
Can we use the cursor's to create the collection in PL/SQL?
What is a parameter query?
What is before and after trigger?
What will you get by the cursor attribute sql%rowcount?
Is coalesce faster than isnull?
how to create a test table in your mysql server? : Sql dba
List the ways to get the count of records in a table?
Can a key be both primary and foreign?
How to create your own reports in sql developer?