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 / maheswar reddy s

select * from Employee e1 where 6=(select count(distinct(salary))from employee e2 where
e2.salary>=e1.salary)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of keyword with encryption. Create a store procedure with encryption?

960


What are acid properties of transaction?

950


what is hash nonclustered index

969


Is it possible to replicate data from sql server to oracle? : sql server replication

1098


What is report subscription?

126


Is truncate autocommit?

941


What is the xml datatype?

1081


Describe in brief sql server monitoring ways.

1054


What is the importance of a recovery model?

1050


How can we determine what objects a user-defined function depends upon?

1017


How to create a scrollable cursor with the scroll option?

999


How to join two tables in a single query in ms sql server?

995


Explain comment on transactions?

1005


How to set a database state to offline in ms sql server?

1046


What is a non-clustered index?

998