I have two tables as follows TableA as
col1 col2 col3 col4
1 2 3 4
101 201 301 401
AND another table- tableB
col1 col2 col3 col4
1 2 3 4
Result tableC or result should be
Result
col1 col2 col3 col4 col5 col6 col7 col8
1 2 3 4 1 2 3 4
101 201 301 401 null null null null
Basically want to save the common rows in the table wherever available. I am using MYSQL