I have two MySQL databases the first one has one table t1
that has three fields id
, t2id
, f
and the second one has table t2
that has two fields id
, f
the t1.t2id
should have the same value as t2.id
where t1.f
= t2.f
, however the value of t2.id
is changing every day.
What I want to achieve is that whenever the value of t2.id
is changed the value of t1.t2id
will be updated as well, is that possible using a procedure?
Any other suggestions?