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

SELECT MAX(Sal) FROM EMP WHERE Sal < (SELECT MAX(Sal) FROM EMP)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cte sql?

989


What is the purpose of the partition table?

1049


Do we need to rebuild index after truncate?

1033


how do you login to mysql using unix shell? : Sql dba

1079


Does a user_objects view have an entry for a trigger?

1010


What is sqlca in db2?

952


Which are the different types of indexes in sql?

1057


What are system versioned tables?

1024


Why join is faster than subquery?

1109


How to call shell script from pl sql procedure?

1277


Give the order of sql select?

1133


What is sql dialect?

1114


Where is pl sql used?

951


What is meant by <> in sql?

974


How can we implement rollback or commit statement in a trigger?

1032