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 / shiva kumar

select max(salary) from table01
where salary <(select max salary from table01)

in mainframe env

Is This Answer Correct ?    27 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different joins used in sql?

1057


what is the bond code in materialized view?

3003


What is compiled query?

1038


State few characteristics of pl/sql?

971


what is sub-query? : Transact sql

1106


What does select top 1 do in sql?

1098


- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?

1830


How to know the last executed procedure?

1099


Who developed sql?

1049


How do you use join?

942


What are aggregate functions in sql?

1162


what is the difference between cluster and non cluster index? : Sql dba

1027


What are the triggers associated with image items?

1042


How do I use google cloud in sql?

1091


What is dml and ddl?

959