in Databases
462 views
0 votes
0 votes
Is LEFT OUTER JOIN commutative in nature?
in Databases
462 views

1 Answer

2 votes
2 votes

No, only Full Outer Join is commutative always

 

why Left Outer Join or Right Outer Join are not always commutative?

 

let take table A have 10 rows and table B have 15 rows ( assume join attribute is unique in both tables )

A left outer join B ===> produce 10 rows as o/p

but B left outer join A ===> produce 15 rows as o/p

1 comment

Yes thanks i got it,actually i was trying with 3 tables having same no of rows, so i was getting commutative.But yes now its clear
0
0