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
What is the difference between a check constraint and a rule?
What the different components in replication and what is their use?
Which table keeps the locking information?
Why use triggers?
Does windows server 2016 come with sql server?
Explain system views?
What are the advantages of partitioning?
where can you add custom error messages to sql server? : Sql server administration
When would you use sql joins?
Define left outer join in sql server joins?
Explain the Ways to improve the performance of a sql azure database?
Do you know how to send email from database?
Tell me what is de-normalization and what are some of the examples of it?
What is openrowset sql server?
What is onf in normalization form?