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;



4. Select sum(A.salary) +sum(B.salary) as TOT_SAL from ( select LEVEL emp_id,level*100 salary,case ..

Answer / sudarshanbehera07@gmail.com

Ans: b. Null

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What is an ndf file?

0 Answers  


How do I run a sql trace?

0 Answers  


What is rename command in sql?

0 Answers  


What do you understand by case manipulation functions?

0 Answers  


How can you know that statistics should be updated?

0 Answers  






What do you think about pl/sql?

0 Answers  


How to assign sql query results to pl sql variables?

0 Answers  


What are the advantages of the packages

6 Answers   Oracle,


what is a trigger? : Sql dba

0 Answers  


how to include numeric values in sql statements? : Sql dba

0 Answers  


Explain the PL/SQL compilation process.

3 Answers  


What is a pdo connection?

0 Answers  


Categories