I have two tables, structured like so:
table A:
A_ID varchar(32) PRIMARY KEY
field1 varchar(255)
field2 varchar(255)
B_ID varchar(32)
table B:
B_ID varchar(32) PRIMARY KEY
field1 varchar(255)
field2 varchar(255)
A contains a foreign key to table B (note that 1 B could have more than 1 A). I'd like to insert the data from table B to it's matching table A (field1 and field2 is empty for every row in table A currently). Is there a way to do this purely with MySQL?