find out the third highest salary?
Answer Posted / siddharth mitra
select *
from (select row_number() over (order by salary asc) as
"ROW_NUM" from emp)
where ROW_NUM = 3;
This only works with oracle 8i and 9i,i.e., row_number is an
analytic function.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the differences between interval year to month and interval day to second?
How to synchronize 2 schema's objects?
What do you understand by a database object?
What is the max number of columns in an oracle table?
21. Using a set operator, display the client number of all clients who have ever placed an order and whose whose name does not contain the string Sm.
types of indexes and the rationale behind choosing a particular index for a situation.
How to insert a record into a table?
How to do a full database export?
What is ceil and floor in oracle?
Is oracle the best database?
State and explain the different types of data models?
What is difference between truncate and delete?
How many memory layers are in the oracle shared pool?
What is the data type of dual table?
How to turn on or off recycle bin for the session?