Find out the 3rd highest salary?
Answer Posted / lalit dwivedi
select a.salary
from emp a
where 3=(select count(distinct(b.salary))
from emp b
where a.salary<=b.salary)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between syntax error and runtime error?
What are the types of dbms?
In pl/sql, what is bulk binding, and when/how would it help performance?
Why plvtab is considered as the easiest way to access the pl/sql table?
Is a foreign key always unique?
What is indexes?
Does truncate remove indexes?
Why function is used in sql?
What is a native sql query?
What is a sql statement?
What is user defined functions?
what is unique key constraint? : Sql dba
When can we use the where clause and the having clause?
How to raise user-defined exception with custom sqlerrm ?
What are pl/sql packages?