Find out the 3rd highest salary?
Answer Posted / srikanth
select q.sal
from emp q
where 3=(select distinct(count(b.sal))
from emp b
where q.sal<=b.sal)
| Is This Answer Correct ? | 17 Yes | 10 No |
Post New Answer View All Answers
Which is faster count (*) or count 1?
What does count (*) do in sql?
Can you call pl/sql package functions from within a fast formula?
What are some predefined exceptions in pl/sql?
What are different types of functions in sql?
Explain aggregate functions are available there in sql?
What is the difference between an inner and outer join?
What will you get by the cursor attribute sql%rowcount?
Is sql better than excel?
What is cross join example?
Can we rollback truncate?
What is exit statement?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba