Find out the 3rd highest salary?
Answer Posted / virendra
select ename, salary from emp where salary=(select top 1
salary from (select distinct top 3 salary from emp order
by salary desc) a order by salary)
| Is This Answer Correct ? | 7 Yes | 8 No |
Post New Answer View All Answers
What is dba in sql? : SQL DBA
Is sql a scripting language?
How to test for null values?
What is sharding in sql?
How do sql triggers work?
How can I get the number of records affected by a stored procedure?
What is the difference between partitioning and sharding?
What is the use of stored procedures?
What are database links used for?
What types of commands can be executed in sql*plus?
What is a left inner join?
What is cursor and why it is required?
Can we call stored procedure in function?
how to escape special characters in sql statements? : Sql dba
What is sql used for?