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;
What is sql select statement?
package specification-3 procedures package body-2 procedures will is execute
What does trigger mean in psychology?
How do I audit the sql sent to the server?
What are sql commands?
How do you update a sql procedure?
Can %notfound return null after a fetch?
What is on delete set null?
what is an index? : Sql dba
How do I clear the screen in sql plus?
What are advantages of Stored Procedures?
What are different types of queries in sql?