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 need of a partition key?
What's the difference between a primary key and a clustered index?
Can you call pl/sql package functions from within a fast formula?
What is a unique key and primary key and foreign key?
What is a primary key? Explain
How show all rows in sql?
What is the difference between distinct and unique in sql?
What is a unique constraint?
What is trigger types of trigger?
What is mutating error?
what is sp_pkeys? : Transact sql
What is the command used to fetch first 5 characters of the string?
Define commit?
What is auto increment in sql?
what is the difference between rownum pseudo column and row_number() function? : Sql dba