Find out the 3rd highest salary?
Answer Posted / kaushal kassi
select distinct a.sal
from employee a
where 3=(select count(distinct b.sal)
from employee b
where a.sal<=b.sal)
| Is This Answer Correct ? | 24 Yes | 12 No |
Post New Answer View All Answers
what are aggregate and scalar functions? : Sql dba
How many sql are there?
What is dense_rank in sql?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
What is structural independence and why is it important?
What is t sql used for?
How does cross join work?
How to return multiple rows from the stored procedure?
How many types of primary keys are there?
How to create an array in pl/sql?
what is a primary key? : Sql dba
What is the file extension for sql database?
How do I view tables in mysql?
What is date functions?
What is snowflake sql?