find out the third highest salary?
Answer Posted / brijesh
hi,
this query gives you the Nth highest salary, the trick is to
write (N-1) in the given place;
select salary from table as table1
where (n-1) =
(select count(salary) from table
where table1.salary<salary);
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is the use of file param in imp command?
What is difference between cartesian join and cross join?
material view and view disadvantages?
What is the simplest tool to run commands on oracle servers?
What is the usage of synonyms?
What are transaction isolation levels supported by oracle?
How many types of tables are there in oracle?
How to display row numbers with the records?
What is SQL access advisor in Oracle?
What do you mean by a deadlock?
What happens to the current transaction if the session is killed?
What is procedure overloading in oracle?
How can you use check constraints for self referential integrity?
How to invoke the data pump import utility?
What is an oracle cursor variable?