1.how to extract the second highest salary from emp table
having sal as a column which contains the salary of all
employee of an organisation.
Answer Posted / esakkiraja
select a.* from(select dense_rank() over(order by sal)as
new_rank from emp) a where new_rank=2
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do you mean by merge in oracle and how can we merge two tables?
What are the uses of synonyms?
What is redo log?
Write a syntax for update query in oracle?
What privilege is needed for a user to connect to oracle server?
What is rowid and rownum in oracle?
How to change program global area (pga) in oracle?
How to define default values for formal parameters?
What is the maximum limit on the number of columns in a table?
Explain the use of owner option in exp command.
What is the difference between substr & instr functions?
What is oracle rownum?
What is oracle thin client?
Which are the five query types available in oracle?
What are operators in oracle?