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

Write query to fetch second maximum salary from employee table.

Answer Posted / santosh kumar

select * from(select rownum r,ename,sal from(select * from emp order by sal desc))where r=2;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you have more than one content canvas view attached with a window ?

2373


What are the major difference between truncate and delete?

1136


How to start your 10g xe server?

1089


What are the different types of failures that occur in Oracle database?

1122


How to use "while" statements in oracle?

1379


What are the attributes that are found in a cursor?

1122


How to do a full database export?

1153


How to pass a parameter to a cursor in oracle?

1231


What is the scope of a local variable?

1123


What is a proxy class?

1107


various types of hints and their usage

2750


how to use select statement as formal parameter in procedure specification?(someone said that using string) ex:-procedure(a in number,select ename from emp ) i am asking syntax like this?

2057


How to define a data field as not null?

1163


Why is oracle so popular?

1055


How does one get the view definition of fixed views/tables?

1073