how to find the second highest salary in a given table????
Answer Posted / mahesh
SELECT *
FROM (SELECT ROWNUM sl, salary
FROM (SELECT DISTINCT salary
FROM employees
ORDER BY salary))
WHERE sl = n
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does oracle partitioning improve performance?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?
What is coalesce function?
Can you assign multiple query result rows to a variable?
What is a snapshot in oracle database?
Explain a synonym?
How to use "in" parameter properly?
List the parts of a database trigger.
What happens to the current transaction if the session is killed?
How to write a query with an inner join in oracle?
How do I manually uninstall oracle client?
Explain the function of optimizer in oracle?
How to bring a tablespace online?
How many types of segments in Oracle?
How to update values on multiple rows in oracle?