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 find 6th highest salary from Employee table ?

Answer Posted / rahul gupta

select sal from employee e1 where 5 = (select count(*) from
employee e2 where e1.sal < e2.sal)

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a trace frag?

1089


How do I clean up sql server transaction log?

1071


how to create “alternate row colour”?

146


What is the difference between varchar and nvarchar?

943


Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

991


Explain about remote stored procedure?

1012


What are clustered and non-clustered index?

1011


Explain triggers?

1013


How to create new databases with "create database" statements?

1026


what are database files and filegroups? : Sql server database administration

950


Data table as parameter in sql server?

1050


What is sql server management studio? : sql server management studio

1080


Define indexes?

1050


What causes index fragmentation?

998


What is the boxing and unboxing concept in .net?

919