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 join and an outer join?
What do you know by pl/sql cursors?
How do I find duplicates in a single column in sql?
What are the most important ddl statements in sql?
how to check server status with 'mysqladmin'? : Sql dba
what is acid property in database? : Sql dba
Cite the differences between execution of triggers and stored procedures?
Is sql easier than java?
Which sql statement is used to return only different values?
what is a join? : Sql dba
What are the ddl commands?
How do I remove duplicates in two columns?
What does select * from mean in sql?
How does a self join work?
What is a record in a database?