find out the third highest salary?
Answer Posted / ajit
SQL QUERIES FOR FINDING Nth HIGHEST SALARY
SELECT DISTINCT (a.salary) FROM EMPLOYEES A WHERE &N = (SELECT COUNT (DISTINCT (b.salary)) FROM EMPLOYEES B WHERE a.salary<=b.salary);
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are operators in oracle?
How to create a table index in oracle?
Explain the function of optimizer in oracle?
What is SQL Tuning Advisor in Oracle?
How to save query output to a local file?
What is the purpose of save points in oracle database?
What is difference between cartesian join and cross join?
How to do a full database export?
If a parameter is used in a query without being previously defined, what diff. exist betw. report 2.0 and 2.5 when the query is applied ?
How do we get field details of a table?
What is not equal to in oracle?
Explain the use of record length option in exp command.
Why oracle is used?
How many memory layers are in the oracle shared pool?
What is merge statement used for?