Find out the 3rd highest salary?

Answer Posted / xyz

select a.sal from (select distinct(sal) from emp order by
sal desc)a where rownum=3

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how would you get the current date in mysql? : Sql dba

551


Which join is like inner join?

564


How do I save the results of sql query in a file?

535


What is procedure explain with program?

554


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

2070






what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

508


How do you update a value in sql?

549


What is pl sql collection?

526


What is localdb mssqllocaldb?

623


Is sql the best database?

503


What are different types of indexes?

512


Difference between table function and pipelined function?

587


Is not equal in sql?

571


What is thread join () in threading?

542


what is a trigger in mysql? Define different types of trigger. : Sql dba

552