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 / raju tt

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba

1164


what is a trigger in mysql? : Sql dba

1216


What is %type in sql?

1020


What is rename command in sql?

1093


What are triggers and its uses?

1095


State few characteristics of pl/sql?

1025


Is sqlexception checked or unchecked?

1013


Can we use pl sql in sql server?

1136


What are the types of views in sql?

1143


What are pl/sql packages?

1160


What is a trigger in sql?

1234


How do I add a database to sql?

1185


What is scalar data type in pl sql?

1119


what are the differences between binary and varbinary? : Sql dba

1085


Is it possible for a table to have more than one foreign key?

1084