How to find 6th highest salary from Employee table ?
Answer Posted / saravakumar
SELECT TOP 1 salary FROM (SELECT DISTINCT TOP 6 salary FROM
employee ORDER BY salary DESC) a ORDER BY salary
| Is This Answer Correct ? | 30 Yes | 8 No |
Post New Answer View All Answers
What is cached report?
Why use “pivot” in sql server?
How to drop an existing user defined function in ms sql server?
How to use "begin ... End" statement structures in ms sql server?
How to find a value in another dataset based on current dataset field (ssrs 2008 r2)?
Relational calculus is what type of language?
Can you please explain the difference between function and stored procedure?
Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?
What is dknf in normalization form?
What are types of subqueries?
What is a fan-out query in SQL Azure?
What is the status of services on passive node for failover cluster in sql server? : sql server database administration
What are the reporting services components?
What is a natural primary key?
Determine when an index is appropriate?