find out the second highest salary?
Answer Posted / padiya hiten
select * from emp e1 where (3=(select count(distinct
(e2.sal))from emp e2 where e2.sal>=e1.sal));
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What is data type in oracle?
Difference between pre-select and pre-query
can u send the sql dumps to sivakumarr1987@gmail.com plz help me
Why do we use coalesce function in oracle?
How to create a table index?
How to shutdown your 10g xe server from command line?
How to use fetch statement in a loop?
What is the recommended interval at which to run statspack snapshots, and why?
How to get last row id?
How to convert a date to char in oracle? Give one example.
nw i'm doing MBA system and planning to do oracle,database management.tell me that whether it is useful r not?.refer any course for my carrier pls
What is oracle rowcount?
What is dynamic proxy?
What is the quickest way to export a table to a flat file?
How to set a transaction to be read only in oracle?