how to find nth highest salary
Answer Posted / guru
select max(salary) from Employee where salary not in(select
top (n-1) salary from Employee order by salary desc)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is resultset an interface?
How do I view a script in sql server?
How to execute stored procedure in select statement sql server?
What is user-defined functions? What are the types of user-defined functions that can be created?
Can You Use A Stored Procedure To Provide Data To An Ssrs Report?
what's the difference between a primary key and a unique key? : Sql server database administration
What is the maximum number of instances in 32 bit and 64 bit sql server 2012?
Please differentiate between a local and a global temporary table?
What is normalization and what are the advantages of it?
What is the order in which the sql query is executed?
Why is normalisation important?
Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication
Define primary key?
Explain logical operators in sql server?
What are cursors stored procedures and triggers?