Hello, I have two tables: A(col1,col2,col3,col4)
B(col1,col2,col3,col4)
Table A has 4 records(rows) and B has 6 rows.I want to join them like this,for example join them in C table
C(B.col1,B.col2,A.col3,A.col4,B.col3,B.col4) (tables have different values in records just col1 and col2 contains the same values)
when i join them on A.col1=B.col1 and A.col2=B.col2 I take Cartesian product :(
P.S I want to have 6 rows in C,where B.col1,B.col2,B.col3,B.col4 have 6rows and A.col3,A.col4 have 4 rows and other 2 null
please help me..