Please let me know if UNION ALL and Natural Join does the
same operation and are same...
Answer Posted / vikneswaran
no,union all and natural join is not same. for example tave
two tame emp and dept
emp table
empid ename salary
1 a 1000
2 b 2000
dept table
deptid deptno
1 10
2 20
if i join this two tables
(empid = deptid)
empid ename salary deptno
1 a 1000 10
2 b 2000 20
if i union a11 this two tables
empid ename salary deptno
1 a 1000 null
2 b 2000 null
1 null null 10
2 null null 20
so join and unionall is not same
Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is record in pl sql?
What is the sql*loader? : aql loader
How do you create an update query?
What is field delimiter?
What is the need of a partition key?
What is Materialized View? In What Scenario we Use Materialized View?
Could you please provide oca (oracle 10g) dumps for my certification ?
Can we call stored procedure in function?
How can we optimize a sql query?
What is the difference between inner join and natural join?
Which join is like inner join?
What is cost in sql execution plan?
What does bitemporal mean?
What is sql integrity?
What is number function in sql?