how to find the second highest salary from emp table?
Answer Posted / tanmoy
SELECT MIN(sal) FROM (SELECT sal FROM emp ORDER BY sal DESC LIMIT 2) AS a ;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are system versioned tables?
what is the difference between join and union? : Sql dba
What are sql objects?
How long it takes to learn pl sql?
what is a cursor? : Sql dba
Why are sql stored procedures used?
What are all the different normalization?
How to create an array in pl/sql?
What are pl/sql cursors?
What are the different types of constraints?
How to convert comma separated string to array in pl/sql?
What is before and after trigger?
What is sql*loader and what is it used for?
How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?
what is 'trigger' in sql? : Sql dba