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
What operators deal with null?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
What are tables in sql?
What is sqlite used for?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
What is pl sql in oracle?
Explain the difference between rename and alias?
Explain table and field in sql?
What is the sql case statement?
Enlist the data types that can be used in pl/sql?
what is union, minus and interact commands? : Sql dba
Why having clause is used in sql?
How do I make my sql query run faster?
what is sub-query? : Transact sql
What is cursor in pl sql with examples?