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


find out the second highest salary?

Answers were Sorted based on User's Feedback



find out the second highest salary?..

Answer / padiya hiten

select * from emp e1 where (3=(select count(distinct
(e2.sal))from emp e2 where e2.sal>=e1.sal));

Is This Answer Correct ?    4 Yes 6 No

find out the second highest salary?..

Answer / sumeet

select min(sal) from emp where sal in (select top 2 sal from
emp order by sal desc);

Is This Answer Correct ?    0 Yes 3 No

find out the second highest salary?..

Answer / shachindra pandey

proc sql;
select id,name,population from populations where
population=(select max(population) from
populations
where population < (select max(population) from
populations));


quit;

Is This Answer Correct ?    18 Yes 22 No

find out the second highest salary?..

Answer / tejinder

select salary from emp order by salary desc limit 0,1;

Is This Answer Correct ?    0 Yes 5 No

find out the second highest salary?..

Answer / kiran

select max(empsal) from emp where rownum<=2

Is This Answer Correct ?    24 Yes 188 No

Post New Answer

More Oracle General Interview Questions

How index is implemented in oracle database?

0 Answers  


Name the various constraints used in oracle?

0 Answers  


various types of hints and their usage

0 Answers  


How can we find out the current date and time in oracle?

0 Answers  


Define the terms primary key foreign key and also the difference between primary and the unique key

2 Answers  


Please explain joins in oracle?

0 Answers  


What is the usage of merge statement?

0 Answers  


What is system global area (sga) in oracle?

0 Answers  


Why do you use stored procedures and state some of its disadvantages?

0 Answers  


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

0 Answers  


Can the default values be assigned to actual parameters?

1 Answers  


How do you rate yourself in oracle and sql server ?

2 Answers   Keane India Ltd,


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)