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 / yash goyal

Select slary from
(select salary from empolyees
order by salary desc
where rownum<=&no.)
order by salary Asc
where rownum=1;

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 a nested table in word?

954


What is spool?

1050


Why do we use cursors?

984


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

1109


What is clustered index in sql?

1051


Does truncate remove indexes?

1029


What is the need of a partition key?

983


how is exception handling handled in mysql? : Sql dba

1078


What is use of package in pl sql?

1011


Are views faster than queries?

988


What is normalization? How many normalization forms are there?

1080


What is db journal file?

1058


Explain the types of joins in sql?

1033


what are the nonstandard string types? : Sql dba

1134


what is commit? : Sql dba

1069