write query for fourth maximum salary from employee table
Answer Posted / icedrop
select top 1 salary from (select distinct top 4 Salary from tablename order by salary desc ) result order by salary
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are statistics?
What are the different types of collation sensitivity in sql server?
What is a Join and explain its types?
Mention the different types of triggers?
How do I start and stop sql server?
What is the use of sql profiler in sql server 2012?
What are alternate keys?
What is the distinction amongst delete and truncate?
What does it mean if @@cursor_row returns a negative number?
What is Dependency Injection and provide example?
What are wait types?
What are sub reports and how to create them?
what is database replicaion? : Sql server database administration
How will you know when statistics on a table are obsolete?
How to create a user name in a database?