Greetings,
I have to pass info from table A to table B, I need for each record I passed (insert) into table b, to update the relevant record in table A.
Is there any way to do this only with sql i.e. mybee insert and update in the same sentence.
imaginary example:
insert into table_b (field_a,field_b)
select field_a, (update table_a
set field_b="processed"
where field_a=out.field_a)
from table_a out,