write query for fourth maximum salary from employee table
Answer Posted / yogendra barode
Select top 1 salary from (select top 4 salary from tbl_emp
order by salary desc) temp_tbl order by asc
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is the difference between a check constraint and a rule?
What is view in sql?
What are the triggers in sql?
What are the recovery models for a database?
What is scd (slowly changing dimension)? : sql server analysis services, ssas
Explain in brief about Microsoft SQL server?
What are locks in sql?
Do you know what is fill factor and pad index?
what are triggers? : Sql server database administration
explain what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration
what is a join and explain different types of joins? : Sql server database administration
Detail about query optimizer?
In which tcp/ip port does sql server run? Can it be changed?
How display code or Text of Stored Procedure using Sql query in Sql Server ?
Can you explain the disadvantages/limitation of the cursor?