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

select salary from employees where rowid=(select rowid from
employees where rownum<=2
minus
select rowid from employees where rownum<2)
order by salary

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sorting in sql?

956


What is 19 null in sql?

979


Why do we need a foreign key?

1108


What is dynamic sql in pl sql?

1042


What are analytical functions in sql?

1038


Which is the correct statement about truncate and delete?

1118


How to load data with sql*loader?

1058


What are the events on which a database trigger can be based?

1199


Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?

1041


What are secondary keys?

979


What is the difference between mdf and ndf files?

1130


What are few of the schema objects that are created using PL/SQL?

1047


What is the use of desc in sql?

984


What are the different types of constraints?

1194


what is data integrity? : Sql dba

1045