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
How delete all data from all tables in sql?
What are the syntax and use of the coalesce function?
Can a foreign key have a different name?
What are two statement types in sql?
What are the sql commands?
What is rownum?
what are the limitations of identity column? : Transact sql
what is query cache in mysql? : Sql dba
What is sql engine in oracle?
Why is sharding used?
Is like operator in sql case sensitive?
How do you run a query?
How do I find duplicates in a single column in sql?
Explain character-manipulation functions?
What are views in sql?