how to find nth highest salary
Answer Posted / ayush sharma
select sal from (select distinct sal from emp order by desc)
where rownum <=n minus select sal from(select distinct sal
from emp order by desc) where rownum<=n-1;
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What are the restraints imposed on the table design by a merge replication?
Describe different Processing Modes offered by SSRS?
Do you know concepts and capabilities of sql server?
Explain how to integrate the ssrs reports in application?
What are acid properties of transaction?
How to identify current user in ssrs report?
What are relationships and mention different types of relationships in the dbms
Is it possible to create trigger on views?
What is a partition key?
What is the osql utility?
Can you index views?
Can group by be used without aggregate functions?
what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration
How to delete duplicate records based on single column from a table?
What is the maximum row of a size?