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

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

What is sqlerrd?

971


explain the advantages and disadvantages of stored procedure? : Sql dba

1015


What do you mean by “trigger” in sql?

1086


What is the difference between left join and right join?

950


Mention what are the benefits of pl/sql packages?

1086


Can I create table without primary key?

1004


how can we take a backup of a mysql table and how can we restore it. ? : Sql dba

977


Explain ddl statements in pl/sql?

1013


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

1142


What is #table in sql?

1109


Why is partition used in sql?

1130


What is a full join sql?

1061


How can you select unique records from a table?

1086


How does postgresql compare to "nosql"?

1039


Explain alias in sql?

1054