write query for fourth maximum salary from employee table
Answer Posted / raman
select top 1(esal) from (select top 2(esal) from employee order by esal desc) employee order by esal asc
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can delete duplicate records in cte in sql server?
What is Sqlpaging in SqlServer 2005 ?
Why should we go for stored procedures? Why not direct queries?
What is index fragmentation in ms sql server?
What is the purpose of data source?
How can you control the amount of free space in your index pages?
Difference between Logical Page and Physical Page in SSRS.
Explain what are the basic functions for master, msdb, model, tempdb databases?
Explain about Views?
What are the features of Embedded SQL
how many clustered indexes can be created on a table? : Sql server database administration
What is join query?
Does partitioning improve performance sql server?
How do you create type- insensitive operator?
What is database architecture? : SQL Server Architecture