find out the second highest salary?
Answer Posted / shiv prakash
select salary from(select rownum as r,salary from(select
rownum,salary from emp order by salary
desc))where r=2;
| Is This Answer Correct ? | 20 Yes | 18 No |
Post New Answer View All Answers
How many file formats are supported to export data?
What are a cluster and non-cluster index?
What is pragma autonomous transaction in oracle?
What is the effect of setting the value "all_rows" for optimizer_goal parameter of the alter session command? What are the factors that affect optimizer in choosing an optimization approach?
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.
How to define a record variable to store a table row?
How to delete a user account in oracle?
What are the differences between blob and clob in oracle?
I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database
What is the relation of a user account and a schema?
How many data types are supported?
What are the extensions used by oracle reports?
How to use like conditions in oracle?
How to use "if" statements on multiple conditions?
How to start your 10g xe server?