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

Do foreign keys improve performance?

1029


What is an escape character in sql?

1039


What are the three forms of normalization?

1050


What is the limitation on the block size of pl/sql?

996


What is over () in sql?

972


Are views faster than queries?

1001


What is difference between mysql and postgresql?

1164


Why do we use subquery?

1022


how would you enter characters as hex numbers? : Sql dba

993


Explain constraints in sql?

1053


Why is theta join required?

1149


Can we call a function containing dml statements in a select query?

989


What are the main features of cursor?

1073


what is a trigger in mysql? : Sql dba

1153


What is crud diagram?

955