how to find nth highest salary
Answer Posted / kunal gupta
select top 1 sal from (select top n sal from tbl_master
group by sal order by sal desc)m order by sal
This answer is easiest and 100% tested
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How can we solve concurrency problems?
Explain go command in sql server?
Can two tables have the same primary key?
How to create a view with data from multiple tables?
What is a trigger what are the advantages of trigger?
How many types of functions are there in sql server?
What is multi-statement table-value user-defined function?
How to enter unicode character string literals in ms sql server?
What is Fragmentation and Defragmentation? For 32GB Table,How can we do the fragmentation?
How to add additional conditions in SQL?
What are the restrictions applicable while creating views? : SQL Server Architecture
Why do we partition data?
How to turn on the mssql api module in php?
When cursors are useful?
What is the function of inner join?