What is the sql query to find the employee who has Nth
maximum salary?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Can anybody tell which is the best training institute for learning Oracle in chennai...? And i also i want placement assurance
Give the stages of instance startup to a usable state where normal users may access it.
What is $FLEX$ and $PROFILES$?
Differentiate between unidentified receipt, unapplied receipts and on account receipts? : oracle accounts receivable
Is there any link between pr form(purchse requisition)and po form(purchase order)
what are all the conversion and interfaces in GL,AP,AR,HRMS with example? otherwise send send link for these
0 Answers Pathway Technologies,
how to replace not in with not exist?
Describe the P2P cycle ?
What is the architectural difference between Oracle and SQL Server 2000? If I have 100 databases, how many instances get created when you use Oracle and how many get created when you use SQL Server?
What is difference b/w Credit memo and Adjustment in AR.
When the procedures or packagess become invalidate
Explain the process of recievables in oracle financials. : oracle accounts receivable