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 to use group functions in the select clause in ms sql server?
How to provide login information for a new odbc dsn?
What are the differences between user defined functions and stored procedures?
Do you know exporting and importing utility?
Does sql server 2000 full-text search support clustering?
Explain “row_number()” in sql server with an example?
Explain triggers?
What are the new data types are introduced in sql 2000?
How to specify the collation for a character data type in ms sql server?
What is dknf in normalization form?
What is sql server agent and what are the two modes of authentication in sql server?
What is difference between stored procedure and user defined function?
Can you force a query to use a specific index?
What are the operating modes in which database mirroring runs?
Explain the difference between clustered and non-clustered index?