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 / jithu

SELECT MAX(SALARY) FROM EMPLOYEE WHERE SALARY NOT IN
(SELECT MAX(SALARY) FROM EMPLOYEE)

Is This Answer Correct ?    9 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you fetch first 5 characters of the string?

948


what are the differences between char and nchar? : Sql dba

1056


How many sql statements are used? Define them.

983


What is int identity in sql?

1064


What are data types in pl sql?

1077


Can we have two clustered index on a table?

968


What is java sql drivermanager?

1023


Name the operator which is used in the query for pattern matching?

894


What are the most important ddl statements in sql?

1027


Why we use pl sql?

908


Which is better join or subquery?

1067


What is trigger in flip flop?

959


What is flag in sql?

984


What is a record in a database?

995


How we can update the view?

1007