find out the second highest salary?
Answer Posted / subash
select sal from emp e
where 2=(select count(distinct sal) from emp b where
b.sal>e.sal)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the difference between translate and replace in oracle?
what is IDE,DMV in sql server?
How to compare dates in oracle sql?
What is a cursor in oracle?
Is insert autocommit in oracle?
What is an oracle database table?
What are the original export and import utilities?
How to drop a stored procedure in oracle?
Why is oracle database so popular?
You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?
How many categories of data types in oracle?
In SAP ECC 6.0 , under DB02 tcode , Tablespace name to be explain stepy step all the col
What happens in oracle commit?
What are the different types of failures that occur in Oracle database?
How to resolve the ORA-39133 error in Oracle?