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
A trigger can reference objects outside the current database? State true or false.
What is 2nf normalization?
Explain what is the difference between union and union all?
What is left outer join in sql server joins?
How to specify the collation for a character data type in ms sql server?
How to add code to the existing article (using improve article)?
Explain the microsoft sql server delete command?
How do I clean up sql server transaction log?
Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?
Give an example of SQL injection attack ?
What is the new security features added in sql server 2014? : sql server security
how would you improve etl (extract, transform, load) throughput?
How do you size a resultset?
What is normalization process?
Why I can not enter 0.001 second in date and time literals in ms sql server?