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...

find out first highest salary?

Answer Posted / tulasi

select * from emp x where 1=(select count(distinct sal)
from emp y where x.sal<=y.sal);

query to find nth sal

select * from emp x where &n=(select count(distinct sal)
from emp y where x.sal<=y.sal);

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to see the table columns used in an index?

998


How to convert csv to table in oracle?

973


What is Library Cache in Oracle?

1117


How to define a cusotmer as a supplier in ORACLE R12

2212


Does oracle charge for java?

1043


Can objects of the same schema reside in different tablespace?

1046


What happens if you lost a data file?

1027


How to import one table back from a dump file?

1009


How to rename an index?

1050


What is logical backup in oracle?

999


Is primary key indexed by default in oracle?

967


How to drop an existing table in oracle?

1047


Explain what are clusters?

1087


Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?

987


How would you go about verifying the network name that the local_listener is currently using?

2027