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
How to call a stored function with parameters?
What happens to the current transaction if the session is killed?
How to get a create statement for an existing table?
How to create an oracle testing table?
How to drop a stored procedure in oracle?
What is an oracle user account?
What are the types of partitions in oracle?
What are the differences between primary key and unique key?
Explain the dml?
Explain the difference between a procedure and a function? What do you understand by those terms?
How do we get field detail of a table?
What are the arithmetic operations?
what is the difference between data migration and production migration.
What is a nvl function? How can it be used?
Explain a synonym?