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 findout the 100th maximum salary

Answer Posted / sajid siddiki

SELECT DISTINCT (a.sal) FROM EMP A WHERE &N = (SELECT COUNT
(DISTINCT (b.sal)) FROM EMP B WHERE a.sal < = b.sal);
For Eg:-
Enter value for n: 100
SAL
---------
3700

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is column?

987


What is sql query optimization?

1111


What are the types of views in sql?

1093


Does asenumerable execute the query?

1039


What are transaction and its controls?

1038


Which sorts rows in sql?

1017


What is sql key?

987


What are the key differences between SQL and PL SQL?

1211


Why do we use procedures in pl sql?

1035


What do you think about pl/sql?

1027


What is a column in a table?

1120


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

1082


what does myisamchk do? : Sql dba

1012


What is graph sql?

987


How do rank () and dense_rank () differ?

1044