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 / shivdas suryawanshi

select salary from emp where salary=(select max(salary)
from emp where salary < (selct 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

How to prepare for oracle pl sql certification?

1012


what is a field in a database ? : Sql dba

991


What is the maximum number of columns in sql table?

1089


What is audit logout in sql profiler?

979


What is primary key and unique key?

1053


What are the advantages of normalization?

1040


What is sequence in sql?

945


how to create a table index in mysql? : Sql dba

987


How many sql databases can you have on one server?

1018


What are aggregate and scalar functions?

978


How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?

1076


What is the need of a partition key?

942


Is mariadb a nosql database?

1007


what are the differences between require and include, include_once and require_once? : Sql dba

972


What is the purpose of primary key?

968