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

20. Using a set operator, display the client number of all clients who have never placed an order.

2193


How index is implemented in oracle database?

1008


What are the advantages of oracle?

1029


Are truncate and delete commands same? If so why?

1158


What is the difference between alert log file and tarce file ?

2172


Differentiate between translate and replace?

1125


Why does Oracle not permit the use of PCTUSED with indexes?

2426


How to rollback the current transaction in oracle?

1056


How to define a data field as not null?

1116


Explain the use of compress option in exp command.

1021


How to execute a stored program unit?

1083


How to export your connection information to a file?

1133


what are steps for interface? where is exchange rate defined in which table?

2162


What is the sql query to concatenate column values from multiple rows in oracle?

1063


How to do clean up if create database failed?

1033