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 different methods to trace the pl/sql code?
What is the difference between python and sql?
what are tables and fields? : Sql dba
What is a loop in sql?
how to fetch common records from two tables? : Sql dba
Explain autonomous transaction.
what are the 'mysql' command line options? : Sql dba
Explain how to use transactions efficiently : transact sql
What are the most important characteristics of pl/sql?
What are the various restrictions imposed on view in terms of dml?
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
Why truncate is used in sql?
Why we use pl sql?
Explain alias in sql?
What are types of joins?