find out the third highest salary?
Answer Posted / nehal
select e.sal from employee where n-1=(Select count(distinct
sal) from emp where sal>e.sal)
Put n=3 for the 3rd highest salary.
| Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
Can we use oracle pl/sql block in core java? if so how? pls get back to me .....
Explain oracle left join with an example?
How to convert character types to numeric types?
What types of joins are used in writing subqueries?
In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.
candidate key is subset of super key but not vice-verse explain
Explain temporal data types in oracle
Can select statements be used on views in oracle?
What are the differences between number and binary_float in oracle?
How to connect to the server with user account: sys?
What is MTTR advisor in Oracle?
How to best split csv strings in oracle 9i?
What are oracle functions?
Whether any commands are used for months calculation? If so, what are they?
What are the different types of trigger and explain its various uses and functions?