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 / rajiv singh

select max(department_id) from departments where
department_id <(select max(department_id) from departments);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to use myisamchk to check or repair myisam tables? : Sql dba

972


Explain the rollback statement?

1016


What is the function that is used to transfer a pl/sql table log to a database table?

1031


Does truncate table reset auto increment?

1002


What is pragma in sql?

1086


What is record in pl sql?

1091


What is pl sql record in oracle?

1044


What is java sql drivermanager?

1104


How many triggers can be applied to a table?

1073


What is insert command in sql?

1139


What is count * in sql?

1001


Can we rollback delete command?

995


What is the advantage of nosql?

1066


how would concatenate strings in mysql? : Sql dba

1100


What are the operators in sql?

1036