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

What is the sql query to find the employee who has Nth
maximum salary?

Answer Posted / naweed ahmad

SELECT * FROM Emp E1 WHERE n-1 =
(SELECT COUNT(DISTINCT Sal) FROM Emp E2 WHERE E1.Sal <
E2.Sal)order by Sal desc

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A scenario for amount correction & how to use amount correction functionality in AP invoices

2104


What view would you use to determine free space in a tablespace?

2184


how can we add a field to the oracle standard forms through Form Persanlization or custom.pll

2364


what ASIS BUSINESS PROCESS IN ORACLE FINANCE

2234


types of receipts and detail desription about recipts and tables effected by receipts?

2034


how to replace not in with not exist?

3681


1)After defining value set we define list of values, I need to enter 1000 values with out entering manually, how will you do that? 2)what are the parameters we use in a concurrent program? 3)what is payroll processing? 4)In organization window after defining an organization and organization classification how to create a new item in the others button? 5)If there are 10 users, How to restrict the selected users not to access the forms?

2140


what are all the conversion and interfaces in GL,AP,AR,HRMS with example? otherwise send send link for these

2285


default triggers available for reports

2178


difference of using cursor for loop and open,fetch,close.which one is better

1754


Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also

2228


what are the tools used for oracle 10g in real time.

2391


i am pursuing mca and i want to do oracle apps technical in hydrabad, plz guide me tne best institue in hydrabad those have excellent knowledge in oracle apps.

2276


what is difference between inner join & nested query or subqueries

2990


key flexfield structure

2131