find out the third highest salary?
Answer Posted / esha gautam
SELECT SAL FROM EMP E WHERE &N-1 =(SELECT COUNT(*) FROM EMP
WHERE E.SAL<SAL);
HERE N FOR NTH SALARY!!!!!!!!!!!!!!!!!!!!
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is redo log?
What is a database table in oracle?
Give the constructs of a package, function or a procedure.
What is oracle data type?
State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.
Explain what are clusters?
How to write numeric literals in oracle?
i have a question here... As of my knowledge, when we apply an index (b-tree)on a column, internally it arranges the data in b-tree format and do the fetching process correspondingly... and my quetion is... How a bit-map index arranges the data internally when applied on a column?IS it in b-tree format or whatelse?
What is the difference between substr and instr?
How to use select statement to count the number of rows in oracle?
How to download oracle database 10g xe?
Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?
can u send the sql dumps to sivakumarr1987@gmail.com plz help me
How to write a query with an inner join in oracle?
What is columnar storage what is the advantage?