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 do I find the query plan in sql server?
Explain timestamp datatype?
What is optimistic concurrency?
What is a matrix in ssrs?
Thanks to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?
What are data regions?
Can we delete data from a view?
How do you know if sql server is running on your local system?
Explain primary key?
What are the diifferences between the ms sql server vs mysql?
What do you mean by a Composite primary key?
Can you explain different types of joins?
What is the log shipping?
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?
What is the use of group by clause?