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 different types of keys in sql?

767


What is number function in sql?

709


What is the use of prepared statement?

749


What is information schema in sql?

765


what is the difference between truncate and drop statements? : Sql dba

745






what is timestamp in mysql? : Sql dba

742


How do I remove all records from a table?

770


Which normal form is best?

675


what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba

724


What is an escape character in sql?

743


How many joins in sql?

738


Can we rollback after truncate?

754


what are wild cards used in database for pattern matching ? : Sql dba

758


What does := mean in pl sql?

756


Does access use sql?

750