how to find nth highest salary
Answer Posted / kavitha. r
select top 1 salary from employee where salary in (select
top n salary from employee order by salary desc) order by
salary desc
Is This Answer Correct ? | 12 Yes | 40 No |
Post New Answer View All Answers
What according to you is the difference between mysql and sql server performance?
Is it safe to delete log files?
how you can configure a running aggregate in SSRS?
what's the difference between delete table and truncate table commands? : Sql server database administration
What is meant by dirty read?
How does clustered and non clustered index work?
What is update locks?
Which sql server is best?
Write a query to include a constraint, to check whether the employee salary is greater than 5000?
Is sql different from sql server?
What is a primary index?
How to execute a sql statement using mssql_query()?
Is it true that rules do not apply to data already existing in a database at the time the rule is created?
What are the basic features of a trigger in ms sql server?
Explain in brief how sql server enhances scalability of the database system?