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

Respected sir, Please send me technical questions related to oracle apps..

0 Answers  


how to find count rows in table without count function?

3 Answers   Oracle,


What are the arithmetic operations?

0 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,


how do get database name at sql prompt?

3 Answers  






How do I spool to a csv formatted file using sqlplus?

0 Answers  


In SAP ECC 6.0 , under DB02 tcode , Tablespace name to be explain stepy step all the col

0 Answers  


What is the difference between I and G in Oracle?

0 Answers   MCN Solutions,


How to rename an existing table?

0 Answers  


In the oracle version 9.3.0.5.0, what does each number shows?

0 Answers  


What do database buffers contain?

0 Answers  


10)In an RDBMS, the information content of a table does not depend on the order of the rows and columns. Is this statement Correct? A)Yes B)No C)Depends on the data being stored D)Only for 2-dimensional tables

6 Answers   Mind Tree,


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)