I have two tables:
A (col1, col2, col3, COL4)
B (col1, col2, col3, COL4)
Table A has 4 entries (rows) and B has 6 rows. I want to join them as follows, for example, join them in a C table
C ( B.col1 B.col2 , A.col3, A.col4, B.col3, B.col4) (the tables have different values ββin the records, only col1 and col2 contain the same values)
when I join them on A.col1 = B.col1 and A.col2 = B.col2 I accept the Cartesian product: (
PS I want to have 6 lines in C , where B.col1, B.col2, B.col3, B.col4 have 6rows and A.col3, A.col4 have 4 lines and the other 2 null
Please help me..
source
share