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

Select * From TableName T1 Where
(N-1) = (Select Count(Distinct(E2.ColumnName))
From TableName T2 Where T2.ColumnName > T1.ColumnName)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by hz_ in customer tables? : oracle accounts receivable

1145


What is the Difference between the Person_Type_id column in the per_all_people_f and per_person_type_usages_f

4389


What is Restricted Mode of Instance Startup in Oracle?

1143


Explain how to account for bank charges deducted from amount received against an invoice. : oracle accounts receivable

1238


What is chargeback invoice? How do we create it? : oracle accounts receivable

1284


How do you create a credit note against an invoice? : oracle accounts receivable

1029


what is difference between inner join & nested query or subqueries

2969


How would you determine who has added a row to a table?

2252


What is the disk migration? what is the steps involved in oracle disk migration?

1177


What is the use of transaction flexfield in autoinvoice? : oracle accounts receivable

1100


can u pls share responsibilities for production how to environment in odi?and how to generate report ?

2314


What is Tax Categories?

2051


HOW TO SAVE UNIVERSES AND DOCUMENTS IN THE REPOSITORY?

2016


What is the mandatory setup in cyclecount ?

2698


Difference between transaction type and transaction sources. : oracle accounts receivable

979