write query for fourth maximum salary from employee table
Answer Posted / pramod
Select Top 1 (Salary) from emp where salary not in
(select Top 3 (Salary) from emp order by salary desc)
order by salary desc
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to insert data with null values?
What is difference between order by and group by?
How to find the version of sql server? : sql server database administration
What is executereader?
Explain indexed views and partitioned view with their syntax.
What you can do to delete a table without the delete trigger firing?
Can group functions be mixed with non-group selection fields in ms sql server?
what is blocking? : Sql server database administration
What is rtm version in sql server?
How to delete exactly duplicate records from a table?
Can we use max in where clause?
What is Sqlpaging in SqlServer 2005 ?
What is the use of set nocount on/off statement?
What is query optimizer in sql server?
Difference between connected and disconnected database in .net with sql server?