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

select * from emp
where
sal=(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 data control language (dcl)?

1135


what is schema? : Sql dba

1048


Is sql open source?

970


Is microsoft sql free?

1095


what is blob? : Sql dba

1145


How many databases can sql express handle?

982


what is sql? : Sql dba

1025


What is the use of non clustered index?

990


What is sql performance tuning?

917


What sql database should I use?

1139


What is the difference between truncate and drop statements?

1182


When is a declare statement required?

1138


Which table is left in left join?

1012


Is vs as in pl sql?

984


what is the use of set statement in tsql? : Transact sql

1009