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 are the types of subquery? : Sql dba
What is denormalization in a database?
Sql technical questions
What is data manipulation language?
Advantages and disadvantages of stored procedure?
What does desc stand for?
What is sqlcommand?
What are the sql commands?
How do I turn a list into a table?
what is sp_pkeys? : Transact sql
What is the difference between local and global temporary table?
How many triggers can be applied to a table?
Explain the purpose of %type and %rowtype data types?
How can I delete duplicate rows?
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?