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 / moorthy(information dynamic)

select sal,rank()over (order by sal desc) from emp where
rownum < = 3;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between stored function and application function?

1217


How to look at the current sql*plus system settings?

1161


what is the functionality of the function htmlentities? : Sql dba

972


What is difference between pl and sql?

1073


What is coalesce in sql?

1071


Does normalization improve performance?

1045


Can ddl statements be used in pl/sql?

1152


What is delete command in sql?

1126


Explain normalization and what are the advantages of it?

962


What is procedure function?

1072


What is view explain with example?

940


how can we repair a mysql table? : Sql dba

990


What is function and procedure?

1040


How can you fetch common records from two tables?

1070


what does myisamchk do? : Sql dba

1036