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

How can you know that statistics should be updated?

1077


Why are aggregate functions called so?

946


Is sql open source?

970


How do rank () and dense_rank () differ?

1044


What is join view in sql?

944


What are character functions in sql?

936


What is before and after trigger?

955


what is self join and what is the requirement of self join? : Sql dba

1140


What is dense_rank in sql?

984


What is the best partition size for windows 10?

999


What is dbo in sql?

959


What is the difference between function and procedure in pl/sql?

1081


What is memory optimized?

1082


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

968


Can cursors be part of a trigger body?

1639