Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

can an automatic recovery be initiated by a user? : Sql server administration

959


What is difference between clustered and non clustered index?

990


What is a full text index?

928


Why variables called the most powerful component of ssis?

1083


Explain having clause?

972


where the connection string store in the database

2077


How do we synchronize On-Premise SQL server with SQL Azure?

122


How to create function with parameter in sql server?

1114


How do I open a .db file?

1046


Write a query to include a constraint, to check whether the employee salary is greater than 5000?

1609


How much is a sql server license?

963


What does asynchronous call backs means?

1164


What is the standby server?

961


How does stuff differ from the replace function?

1019


How is table type constraint applied to a table?

981