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 retrieve the top 3 salaries of the table using rownum

Answer Posted / chandrasekar.ramasamy

select sal from( select rownum,e.* from empmaster e order
by sal desc) where rownum < 4

Is This Answer Correct ?    20 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many parts of a pl sql block are optional?

1035


What do you mean by query optimization?

953


What are the subsets of sql?

1038


what is the use of double ampersand (&&) in sql queries?

1117


What does desc stand for?

1022


How do I add a primary key to a table?

973


How do I run sql?

1096


What has stored procedures in sql?

996


Show how functions and procedures are called in a pl/sql block.

1042


How does left join work in sql?

940


How would you pass hints to the sql processor?

922


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

951


What are the different types of functions in sql?

999


Where is pl sql used?

905


How does a covering index work?

907