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

How do I view a script in sql server?

1039


How do I find sql server instance name?

959


What is the difference between varchar and varchar types?

1071


How secure is sql server database?

1007


Write a sql query to sort on different column name according to the parameters passed in the function?

904


Can You Use Data Mining Models In Ssrs?

145


What is a dataset and what are the different types of datasets?

136


Can a database be shrunk with users active?

1133


What are the properties of the relational tables?

881


What is the stuff?

1000


What is scalar user-defined function?

1101


What is the difference between upgrade and migration in sql server?

1090


Do you know what is fill factor and pad index?

1004


What is rs.exe utility?

156


Which event (check constraints, foreign key, rule, trigger, primary key check) will be performed last for an integrity check?

1007