Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What operators deal with null?

1107


How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000

2170


What are tables in sql?

1066


What is sqlite used for?

1003


how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba

1345


What is pl sql in oracle?

1044


Explain the difference between rename and alias?

1010


Explain table and field in sql?

1063


What is the sql case statement?

1008


Enlist the data types that can be used in pl/sql?

1073


what is union, minus and interact commands? : Sql dba

1186


Why having clause is used in sql?

979


How do I make my sql query run faster?

941


what is sub-query? : Transact sql

1106


What is cursor in pl sql with examples?

1034