4. Select sum(A.salary) +sum(B.salary) as TOT_SAL from ( select LEVEL emp_id,level*100 salary,case when mod (level,2)=0then 2 else null end dept_id from dual connect by level<6 )A right outer join (select level emp_id ,level*200 salary ,case when mod (level,3)=0 then 2 else null end dept_id from dual connect by level<6)B
On A.dept_id=B.dept_id
And A.emp_id=B.emp-id;

Answer Posted / sudarshanbehera07@gmail.com

Ans: b. Null

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the stuff function and how does it differ from the replace function? : Sql dba

624


Is it possible for a table to have more than one foreign key?

582


Why is sharding used?

553


Is sql between inclusive?

590


what is self-join? : Sql dba

571






In what condition is it good to disable a trigger?

556


What is sql integrity?

585


How do I run pl sql in sql developer?

630


what is the difference between delete and truncate commands? : Sql dba

539


How do I view tables in sql developer?

516


Which type of cursor is used to execute the dml statement?

534


what is csv? : Sql dba

578


Can we create clustered index without primary key?

523


What operating systems are supported by oracle sql developer?

520


What is percent sign in sql?

720