Find out the 3rd highest salary?

Answer Posted / karna

Hi Friends,

to get the nth highest value of a column in a table,please
use the below simple query

select min(column) from table where column in(select top n
column from table)

any queries,mail me at karun84@gmail.com

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Could you please provide oca (oracle 10g) dumps for my certification ?

4504


How can we store rows in PL/SQL using array?

657


What is the use of stored procedures?

513


I need a function for a train ticket reservation please answer it thanks in advance

559


What do you mean by dbms? What are its different types?

552






How do you respond to dementia behavior?

523


What are the types of keys?

508


What is dcl in sql?

522


What are the sql versions?

513


How to set up sql*plus output format in oracle?

590


How do I tune a sql query?

508


What is foreign key sql?

547


Can we create view in stored procedure?

518


What is a join query?

544


What is dml and ddl?

514