how to find the second highest salary from emp table?
Answer Posted / abhishek jaiswal
select salary from employees a where &nth_highest_salary =(select count(distinct salary)
from employees b where a.salary<=b.salary)
/
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to take user input in pl sql?
What is Materialized View? In What Scenario we Use Materialized View?
What are the string functions in sql?
What is sql engine in oracle?
What is the least restrictive isolation level? : Transact sql
How can we link a sql database to an existing android app?
what is oracle database ? : Sql dba
What are % type and % rowtype?
What is a pl/sql block?
What is normalization in sql?
What are the three forms of normalization?
What is union, minus and interact commands?
What is execute immediate?
How to use sql statements in pl/sql?
Is mariadb a nosql database?