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 / hari thorat

select max(salary) from employee where salary <(select max(salary) from employee);

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 fetch alternate records from a table? : Sql dba

1106


What is sp_helptext?

1060


What is delete command in sql?

1109


Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?

1162


How does index help in query performance?

1026


What are the advantages of indexing?

980


What is sqlca in db2?

948


Define implicit and explicit cursors.

1140


what are the differences among rownum, rank and dense_rank? : Sql dba

1036


What are different sql data types?

1037


What is difference between cursor and trigger?

1070


Which are sql * plus commands?

1122


What is pl sql variable?

979


What is sql query optimization?

1109


Why is partition used in sql?

1118