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
Explain the various types of concurrency problem?
How to identify current user in ssrs report?
How to use copy and concatenate commands in SQL?
What are rest-style architecture's?
Do you know the isolation level that sql server support?
What is a data source or ds? : sql server analysis services, ssas
do views contain data ?
What are the different types of locks in the database?
What is the difference between sql server 2000 object owner and sql server 2005 schema? : sql server database administration
What are the different types of lock modes in sql server 2000?
Explain powershell included in sql server 2008?
How to delete all rows with truncate table statement in ms sql server?
What is the significance of null value and why should we avoid permitting null values?
How to drop an existing user defined function in ms sql server?
What is database mirroring?