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 |
what are the tools used for oracle 10g in real time.
what are important reports in HRMS,GL,AP,AR in oracle apps?
3 Answers IBM, Pathway Technologies, Satyam, Techtimer, Wipro,
I have 3+ Years experience HR with Technical Recruitment Industry. Now i would like to learn oracle HRMS Models of all aspect. please suggest any one, which institution is best for oracle HRMS practical with real time teaching in Chennai, Tamilnadu. What are the basic stat up to learn Oracle HRMS with Core strongly?
write a query to find the third maximum salary of a employee.(table:employ col name:salary)
wht r the base tables & primary key for BOM& WIP modules
What is the use of transaction flexfield in autoinvoice? : oracle accounts receivable
Explain the difference between a FUNCTION, PROCEDURE and PACKAGE.
What view would you use to look at the size of a data file?
How to find 8th person record in a table? Plz mail ur answers to mak2786@gmail.com Regards Arun
How would you determine who has added a row to a table?
I would like to study certification course in Data base adminidtrator then where would i go to study this course?
how to display last 5 letters from a name (take emp table ename )