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 an inner and outer join?
What is a stored procedure in sql with example?
Can we commit inside a trigger?
Why do we use sql constraints? Which constraints we can use while creating database in sql?
What is group function in sql?
Is there a 64 bit version of ssms?
What are the different parts of a package?
How do you update a table in sql?
How do I add a database to sql?
What is implicit cursor in pl sql?
How sql query is executed?
How do I know if I have sql express or standard?
Is inner join same as self join?
What is the use of function "module procedure" in pl/sql?
What is the difference between the conventional and direct path loads? : aql loader