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
Is oracle an operator?
Describe the types of sub query?
How to add a new column to an existing table in oracle?
What are dml statements in oracle?
How to retrieve the count of updated rows?
How can we create the complete backup of data in the oracle.
What are the four Oracle system processes that must always be up and running for the database to be useable?
Using the relations and the rules set out in the notes under each relation, write table create statements for the relations EMPLOYEE, FIRE and DESPATCH. You should aim to provide each constraint with a formal name, for example table_column_pk.
What is archive log in Oracle?
How do I uninstall oracle client from windows?
How to define a data source name (dsn) in odbc manager?
What is data type in oracle?
What is partitioned table in Oracle?
Explain what are the uses of rollback segment?
How to load data from external tables to regular tables?