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

select max(salary) from emp where salary not in
(select max(salary) from emp)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why use stored procedures?

1140


What does t sql mean?

1002


Explain mutating table error.

1261


How to get each name only once from an employee table?

1159


how are mysql timestamps seen to a user? : Sql dba

1195


How many primary keys can a table have?

1058


what is an extent ? : Sql dba

1160


What are the limitations of sql express?

1117


What is pivot in sql?

973


What are the topics in pl sql?

1023


What do you understand by pl/sql cursors?

1148


how is myisam table stored? : Sql dba

1097


What is scalar and vector?

1060


Define join and name different types of joins?

1054


Write a query to find the names of users that begin with "um" in sql?

1045