As shown in the title, for two database tables t_a and t_b, the field a_col in the t_a table needs to be assigned the value of the field b_col in the t_b table. The fields associated with the two tables are a_line and b_line respectively.
The sql statement is as follows:
update t_a a, t_b b set a.a_col = b.b_col where a.a_line=b.b_line;