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 / ramu

selectename,sal from (select ename,sal from emp order by sal
desc) where rownum<=5;

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 scalar and vector?

940


What is package in pl sql?

963


What is blind sql injection?

992


How to know the last executed procedure?

1035


Why is stored procedure faster than query?

909


Is sql scripting language?

975


How can I get the number of records affected by a stored procedure?

1003


What is dml with example?

1013


how do you login to mysql using unix shell? : Sql dba

1018


How do I remove duplicates in two columns?

977


Explain what is rdbms?

993


Explain some predefined exceptions.

992


Are subqueries better than joins?

922


What is set serveroutput on in pl sql?

1199


What is sql dialect?

1039