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

query optmization techniques and quwry analyser+projects+ppts

0 Answers  


Can we create index on views?

19 Answers   CTS, Syntel, TCS,


What is Oracle table?

1 Answers  


5. Display full details for the creditor/s who has received the single largest payment. Do not use a table join or set operator anywhere in your query.

6 Answers   Wipro,


What is oracle rowcount?

0 Answers  


material view and view disadvantages?

0 Answers  


State the difference between a primary key and foreign key?

0 Answers  


definition of cluster and non-clustered index?

0 Answers   CSS,


Which Oracle App Is Most Popular One ?

3 Answers  


What to do if dba lost the system password?

0 Answers  


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

0 Answers  


How can we manage the gap in a primary key column created by a sequence? Ex:a company has empno as primary key generated by a sequence and some employees leaves in between.What is the best way to manage this gap?

2 Answers   Infosys,


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • 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)