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

What is system stored procedures?

1023


When should you use an instead of trigger?

944


what is isolation level at dead lock?

2131


Can an automatic recovery be initiated by a user?

969


What extended events?

988


Tell me about joins in database system and explain each in detail.

1029


What are the differences between union, intersect, and minus operators?

1061


What is transact-sql language?

1053


Write a sql query to display the current date?

1074


How do I find the default sql server instance?

928


How do you drop an index?

903


How to delete duplicate rows in sql server?

1082


Why variables called the most powerful component of ssis?

1055


Ms sql server index?

1046


Explain user defined functions?

971