how to find nth highest salary
Answer Posted / debasish
select salary from table t where n-1=(select distinct count
(sal) from table t1 where t1.sal>t.sal)
| Is This Answer Correct ? | 19 Yes | 11 No |
Post New Answer View All Answers
what is a join and explain different types of joins? : Sql server database administration
Can another user execute your local temporary stored procedures?
System requirements for sql server 2005 express edition?
How to run sql server 2005 books online on your local system?
Can you roll back the ddl statement in a trigger?
What happens if you delete a table that is used by a view?
How to modify the underlying query of an existing view?
How do I edit a procedure in sql server?
What is normalization and what are the advantages of it?
How does stuff differ from the replace function?
tell me what are the steps you will take to improve performance of a poor performing query? : Sql server database administration
what is raid? : Sql server database administration
Explain about system database?
How to generate random numbers with the rand() function in ms sql server?
What is merge?