Find out the 3rd highest salary?

Answer Posted / karna

Hi Friends,

sorry,last answer was wrong.
I have changed the query,check now

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 order by desc)

any queries,mail me at karun84@gmail.com

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two virtual tables available at the time of database trigger execution?

649


Is left join faster than inner join?

626


What is number function in sql?

532


What is the use of pl/sql table?

560


What is the difference between mdf and ndf files?

575






Can we insert in sql function?

551


What is the difference between pl and sql?

547


How can you load microsoft excel data into oracle? : aql loader

622


how to convert dates to character strings? : Sql dba

539


What are all the different normalizations?

591


Name the operator which is used in the query for pattern matching?

510


Why is sql*loader direct path so fast?

605


what are the advantages a stored procedure? : Sql dba

553


What are the properties of a transaction?

575


how to add a new column to an existing table in mysql? : Sql dba

591