Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / omkar hendre
select distinct(sal) from emp a where 2=(select count(distinct(sal)) from emp b where a.sal <=b.sal)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to write html code in pl sql?
What is form and report?
How does a self join work?
what is a database transaction? : Sql dba
What are some emotional triggers?
What is procedure function?
What is integrity in sql?
Can we commit inside a trigger?
What are functions in sql?
Explain the structure of pl/sql in brief.
What is the purpose of the partition table?
Can we change the table name in sql?
What is the difference between rename and alias?
Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com
What is break?