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

1.how to extract the second highest salary from emp table
having sal as a column which contains the salary of all
employee of an organisation.

Answer Posted / ramya

select max(sal) from employees where
sal < (select max(sal) from employees)

Is This Answer Correct ?    21 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we store any pdf file in oracle

2217


what are the advantages of running a database in archive log mode?

2252


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

2089


Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?

1436


how the Oracle Prepares the Execution Plan and how it chooses the Optimal one?

2408


src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));

1746


How to connect to a local oracle 10g xe server?

1032


What is the maximum number of triggers that can be applied to a single table?

1067


Why use resource manager in Oracle?

1172


How to enter a new row into a table interactively?

1048


Explain a private synonyms?

1097


What is bulk copy or bcp in oracle?

1181


How many types of database triggers exist?

1186


What are the general rules on data consistency?

1060


material view and view disadvantages?

1122