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 bind variable in oracle 11g?
Explain an exception?
What is the fastest query method to fetch data from the table?
What is the quickest way to fetch the data from a table?
How to create a new view in oracle?
How would you go about verifying the network name that the local_listener is currently using?
Which dictionary tables and/or views would you look at to diagnose a locking issue?
What is a partition in oracle?
What is a oracle database?
How to drop a stored procedure in oracle?
What is oracle server autotrace in oracle?
What is an oracle cursor variable?
Describe the types of sub query?
How do we get field detail of a table?
Give syntax for SQL and ORACLE joins.