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...

Anybody can tell me, how do we find second largest emp
salary from emp table.. Thanks in advance ...

Answer Posted / samad

Dear
here i am sending new ans u can give the value in parameter

SELECT SAL,NO FROM(
SELECT SAL ,ROWNUM NO FROM
(SELECT DISTINCT SAL FROM EMP ORDER BY SAL DESC)) WHERE NO=:N


Regards,

Samad

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

nw i'm doing MBA system and planning to do oracle,database management.tell me that whether it is useful r not?.refer any course for my carrier pls

2266


What does sharding mean?

1055


What is a dead lock in oracle?

1178


What is PL/SQL ?

2220


What is integrity and what is constraint??Explain with example

2345


How to use "for" statements in oracle?

1124


What are privileges and grants?

1106


A table t is there.If you perform insert ,update and delete then the trigger will fire.What is the minimum no of trigger required for a table.

5683


Why is oracle database so popular?

1074


What is a tns file?

1044


Why oracle is used?

1108


Why is oracle used?

980


Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables

2119


Why packages are used in oracle?

1119


What is a nvl function?

1097