how to find nth highest salary
Answer Posted / chandra sekhar
select min(salary) from emp where salary in (select top n salary from emp order by salary desc)
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are the various editions of sql server 2017 that are available in the market?
As per your opinion what are the five top responsibilities of a dba? : sql server database administration
Which are the two editions in which SQL Azure database available?
What is standby servers? Explain types of standby servers.
What do you mean by data integrity?
State a few properties of relational databases?
What are different types of data sources?
Name the different type of indexes in sql?
What do you mean by table and field in sql?
How the authentication mode can be changed?
Explain what are the restrictions while creating batches in sql server?
How to compare the top two records using sql?
What do you mean by stored techniques? How would we use it?
What is difference between materialized view and view?
What is database dimension? : sql server analysis services, ssas