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 / sudhakar tripathi

select Max(salary) "2nd_Heigh_sal" from employees where
(salary < select Max(salary) from employees);

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of functions in sql?

1006


Explain ddl statements in pl/sql?

1013


Why do you partition data?

1026


explain what is mysql? : Sql dba

1085


What types of commands can be executed in sql*plus?

1109


How to add, remove, modify users using sql?

1039


How to use sql*plus built-in timers?

1204


What is data modelling in sql?

1024


What does trigger mean in psychology?

962


How do you respond to dementia behavior?

971


Does sql require a server?

1019


Explian rowid, rownum?

1017


what are all the common sql function? : Sql dba

1060


how is myisam table stored? : Sql dba

1058


what are sequences

1752