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...

Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / nagarjuna.reddy

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

Is stored procedure faster than query?

913


What are the parameter modes supported by pl/sql?

1016


What is delimiter in pl sql?

986


Why do we use procedures?

911


What are the 3 types of behavioral triggers?

1181


What are the types of variable use in pl sql?

1008


Which sql most popular?

934


how to see the create table statement of an existing table? : Sql dba

945


What is count * in sql?

934


What is dense_rank?

879


Is left join same as inner join?

1019


Explain 3 basic parts of a trigger.

1254


Explain constraints in sql?

979


What is the trigger in sql?

899


What is a composite primary key?

1030