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

Are These Dff's Flexible?

739


1. What is PO rate variance gain and loss?

2316


i want to know about the javaBean.what is its purpose and how it can use in Forms.

1837


What are different types of receipt reversals ? Explain them : oracle accounts receivable

730


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

650






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

1798


where the dff data will be stored

1806


Explain how to close periods in ar. : oracle accounts receivable

713


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

693


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

1935


Difference between negative and positive adjustments : oracle accounts receivable

625


we have 10 concurrent programs under one request group out of 10 ccps all users submitting only 9 programs from srs window remaining one ccp for specific user how can it possible send me answer asap.

1881


Explain prerequisites and post activities of oracle database installation

1621


Differentiate between transaction type and transaction source? : oracle accounts receivable

682


how to write customizations in po

1201