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...

How to find the second largest salary in the emp database and
also How to find 3rd,4th and so on ........ in the emp database

plz mail the answer @ mak2786@gmail.com

Answer Posted / savita vishwakarma

select max(sal)
from (select rownum
from emp
order by sal desc)
where rownum=2

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an multi-statement table-valued function?

1003


Is sql server free?

921


What are the different types of collation sensitivity in sql server?

1113


Explain different types of index?

1064


Can you always create a cache of a report?

172


How to create view in stored procedure sql server?

1020


is there a column to which a default can't be bound? : Sql server database administration

1016


how you can configure a running aggregate in SSRS?

190


How to add code to the existing article (using improve article)?

1112


What is PROJECTION Operation?

1026


Explain how to maintain a fill factor in existing indexes?

996


Explain atomicity?

1062


What is catalog views?

1071


How to insert multiple rows with one insert statement in ms sql server?

1131


How to find the list of fixed hard drive and free space on server?

1203