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 / suresh

select sal from emp e
where 100=(select count( distinct sal) from emp where
e.sal<=sal)

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sql in mysql? : Sql dba

1120


What is the purpose of normalization?

995


How to check if a column is nullable before setting to nullable?

1054


how is exception handling handled in mysql? : Sql dba

1006


When can we use the where clause and the having clause?

966


Can a select statement fire a trigger?

1096


Does truncate require commit?

918


What is clustered index in sql?

1000


What steps server process has to take to execute an update statement?

919


What is the usage of nvl function?

981


What is dense_rank in sql?

915


what is a unique key ? : Sql dba

1024


Can we use join in subquery?

1022


Can we use threading in pl/sql?

970


Is a view faster than a stored procedure?

899