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 the second highest salary from emp table?

Answer Posted / praveen

SELECT MAX(Salary) as 'Salary' from EmployeeDetails
where Salary NOT IN
(
SELECT TOP 1 (SALARY) from EmployeeDetails ORDER BY Salary Desc
)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is debugging done?

921


What packages(if any) has oracle provided for use by developers?

5718


what happens if null values are involved in expressions? : Sql dba

1001


What is java sql connection?

967


Explain the the update statement in sql?

990


What view means?

931


what is a scheduled jobs or what is a scheduled tasks? : Sql dba

909


Can you join views in sql?

897


Is left join and outer join same?

1006


Enlist the advantages of sql.

939


What are triggers and its uses?

1003


What is a temporal table?

882


What are some predefined exceptions in pl/sql?

1066


Why is pl sql needed?

877


Can you call pl/sql package functions from within a fast formula?

977