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 / prem chhappesh

select max(salary) from emoplyee where salary not in(select max(salary) from employee)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use insert statement in function?

997


what is acid property in database? : Sql dba

1026


How do I create a sql database?

994


What are tables and fields?

1029


what is innodb? : Sql dba

1097


What is count * in sql?

993


What type of database is sql?

1021


How do I start pl sql?

944


What is difference between inner join and cross join?

965


Is natural join and inner join same?

920


What is database migration?

963


Explain the difference between 'between' & 'and' operators in sql

996


How many triggers can be applied on a table?

930


What are tables in sql?

1060


What is index example?

1004