I'm a total begginer in Relational Algebra and I don't manage to fully understand how cartesian product works.
I want to know what happen in cartesian product when my two table have common attributes. I have no problem to understand when both table don't have any attribute in common.
For instance I tried to understand on example I made myself.
T1 T2
---------- -----------
A B C A B D
1 4 7 1 4 8
2 5 3 2 9 5
4 7 1 7 3 2
If I want to do T1 x T2, when I want to write the line that is the concatenation of the first line of T1 A=1 , B=4 , C=7
and the second line of T2 A=2 ,B=9 ,C=5
, what happen to the column A and B ?
If you could show me the result of T1 x T2 it would be really useful!