how to find the second highest salary from emp table?

Answer Posted / sarojkant

select sal from emp
where rownum=2
order by sal desc

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can I make a script that can be bi-language (supports english, german)? : Sql dba

542


What does select count (*) mean in sql?

556


What are different types of triggers?

565


Name the different types of indexes in sql and define them.

574


Show the two pl/sql cursor exceptions.

618






Is sql similar to python?

538


Does sql between include endpoints?

560


How to avoid using cursors? What to use instead of cursor and in what cases to do so?

614


What are the set operators in sql?

562


How to prepare for oracle pl sql certification?

577


How to run pl sql program in mysql?

516


What is pl sql and why it is used for?

579


what is denormalization. : Sql dba

550


What are the string functions in sql?

532


Explain alias in sql?

588