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 are the usages of sql?
Is primary key always clustered index?
How do I restart sql?
What is a record in a database?
Is pl sql better than sql?
write a query to remove null following table are id name 101 dinesh null jyothi null bharathi 102 suresh null shilpha 103 prakesh null suma i want the output format like id name 101 dinesh 102 suresh 103 prakesh
How do I start sql from command line?
what is the functionality of the function htmlentities? : Sql dba
What is Pragma EXECPTION_INIT ? Explain the usage ?
what are the differences between require and include, include_once and require_once? : Sql dba
Explain mutating table error.
What is difference between a Cursor declared in a procedure and Cursor declared in a package specification ?