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 / rajesh chauhan

sql>select max(salary)from(select salary from employee where
salary not in(select max(salary)from employee))

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an oracle stored procedure?

1048


What is the use of procedures?

971


What is record variable?

982


Why is partition used in sql?

1118


What are the types of variables use in pl sql?

1038


What is a left join?

949


how to escape special characters in sql statements? : Sql dba

1033


Is left join same as inner join?

1117


What is prepared statement in sql?

1044


Why is a trigger used?

936


What is the difference among union, minus and intersect?

991


What is mutating table error?

1175


Explain the methods used to protect source code of pl/sql.

1015


How do I enable sql encryption?

1022


What is offset and limit in sql?

1051