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

Does mysql_real_escape_string prevent sql injection?

537


How to display the records between two range in Oracle SQL Plus?

636


Write the alter statement to enable all the triggers on the t.students table.

668


What are the steps for performance tuning.

837


Define overloaded procedure?

620






When to use inner join and left join?

524


What is an implicit commit?

554


How many sql commands are there?

673


What are the basic sql commands?

548


What type of join is sql join?

529


What is left join example?

502


Does oracle use sql?

512


What is synonyms?

570


Which command is used to delete a trigger?

772


What is rename in sql?

548