how to check the 3rd max salary from an employee table?
Answer Posted / danny
SELECT min( sal )
FROM emp
WHERE sal
IN (
SELECT DISTINCT sal
FROM emp
ORDER BY sal DESC
LIMIT 0 , 3
)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How does a covering index work?
Can a procedure in a package be overloaded?
what is the difference between rownum pseudo column and row_number() function? : Sql dba
What is a sql select statement?
When are we going to use truncate and delete?
Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?
What is PL/SQL Records?
define sql insert statement ? : Sql dba
What is a null value?
What is java sql driver?
What are system versioned tables?
What are different methods to trace the pl/sql code?
What is sql lookup?
Why join is faster than subquery?
What is recursive stored procedure?