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 / abhijt shinde

select MIN(salary) from Employees
where salary IN
(Select Top 3 salary from Employees order by salary desc)

Select Top 1 salary from Employees where salary
Not IN(select Top 1 salary from Employees order by salary Desc)
order by salary Desc

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to run sql commands in sql*plus?

1194


What does trigger mean in psychology?

972


Does view contain data?

1041


how many tables will create when we create table, what are they? : Sql dba

1089


Why is there a need for sqlcode and sqlerrm variables?

1060


How to select all records from the table?

1154


What is sql resultset?

997


what is a control file ? : Sql dba

1048


Can I copy :old and :new pseudo-records in/to an oracle stored procedure?

1215


How do I know if I have sql express or standard?

1045


what is a table in a database ? : Sql dba

1055


what is the use of double ampersand (&&) in sql queries?

1183


What is attribute indicator in pl sql?

1023


How subquery works in sql?

1079


how to use like conditions? : Sql dba

1119