find out the third highest salary?
Answer Posted / sanjeev kumar p
select * from emp e1 where (3-1) = (select count(distinct
(e2.sal)) from emp e2 where e2.sal>e1.sal)
| Is This Answer Correct ? | 99 Yes | 51 No |
Post New Answer View All Answers
How to define a variable to match a table column data type?
What is the difference between 10g OEM and 11g OEM?
How to sort output in descending order in oracle?
What do you mean by a deadlock?
What is set operator oracle?
What is the scope of a local variable?
How to compare dates in oracle sql?
What is the difference between formal parameters and actual parameters?
Explain how are indexes update?
What is the Tune Query
What are the attributes that are found in a cursor?
what are the advantages of running a database in archive log mode?
How to declare a local variable?
How to retrieve data from an cursor to a record?
What is a cognitive schema?