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...

how to check the 3rd max salary from an employee table?

Answer Posted / b.v.siva kumar

Use this for SQL Server:

select top 1 salary from emp where salary in (select
distinct top 3 salary from emp order by salary desc) order
by salary

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explian rowid, rownum? What are the psoducolumns we have?

1005


tell us something about heap tables. : Sql dba

1101


Explain ddl statements in pl/sql?

1013


Can function return multiple values in sql?

1062


How many indexes can be created on a table in sql?

1056


What is field delimiter?

1049


Name the operator which is used in the query for pattern matching?

959


What is constant in pl sql?

1026


What is a system versioned table?

992


Explain the insert into statements in sql?

1010


Is pl sql a scripting language?

1035


How do you update a sql procedure?

1032


Is it mandatory for the primary key to be given a value when a new record is inserted?

1199


what is cross join? : Sql dba

1004


How show all rows in sql?

1016