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

how to convert dates to character strings? : Sql dba

1254


What is difference sql and mysql?

1038


Which one is better sql or oracle?

1015


What are all the common sql functions?

1085


What is numeric function sql?

1108


How do I run sql profiler?

1119


What is partition by in sql?

1132


What is file based approach?

1002


What is an intersect?

1156


Does sql profiler affect performance?

1048


Is mariadb nosql?

1093


what is the difference between where clause and having clause? : Sql dba

1047


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

1216


How do you create a unique index?

1094


How to handle bulk data?

1368