i want to know about mr.b.kotravel......who has answered
for second maxmium salary from employee table

Answers were Sorted based on User's Feedback



i want to know about mr.b.kotravel......who has answered for second maxmium salary from employee t..

Answer / mohan

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

Is This Answer Correct ?    2 Yes 0 No

i want to know about mr.b.kotravel......who has answered for second maxmium salary from employee t..

Answer / surya

select * from emp where 2-1=(Select count(distinct(sal)
from emp e where emp.sal<e.sal and ename='mr.b.travel)

Is This Answer Correct ?    0 Yes 0 No

i want to know about mr.b.kotravel......who has answered for second maxmium salary from employee t..

Answer / obulesu

select * from (select e.*,dense_rank() over(order by sal desc) r from emp e) where r=2;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

How to run create database statement?

0 Answers  


After using set unused can we enable the column again to use? Please give me some answers....

1 Answers   Maveric,


How many memory layers are in the shared pool?

1 Answers  


What to do if dba lost the system password?

0 Answers  


Explain how are indexes update?

0 Answers  






What is a procedure in oracle?

0 Answers  


How can I see all tables in oracle?

0 Answers  


Shall I get Pro*C Compiler in Oracle-10g release ?

1 Answers  


What is a subquery?

0 Answers  


How do I escape a reserved word in oracle?

0 Answers  


What are the extensions used by oracle reports?

0 Answers  


How to create a new view in oracle?

0 Answers  


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