write query for fourth maximum salary from employee table
Answer Posted / avanish kumar
if you have a table emp and you have to find fourth maximum
salary from emp table then you will have to write this
query.....
select top 1 sal from (select top 4 * from emp order by sal
desc) as sal order by sal
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is the main purpose of having conversation group?
What are unicode character string data types in ms sql server?
Explain nested trigger in sql?
What are the advantages of using stored procedures in sql server?
How many types of the database links?
How to get a list of columns in a view using the "sp_help" stored procedure?
What are the different normalization forms?
The external application that is executed in one of the tasks does not have a log file, but only a screen log. How can I save the data from the screen? : sql server management studio
What are the differences between having and where clause.
if you encounter this kind of an error message, what you need to look into to solve this problem? : Sql server database administration
How to edit table in sql server 2017?
What are the indexes in sql server?
What is 2nf normalization form?
What do you understand by physical_only option in dbcc checkdb?
Explain some stored procedure creating best practices or guidelines?