I have a sales table that contains the salesperson's code.
But the seller's table was completely redone, with the change of id
.
How can I update the vendor code in the sales table from the comparison between the new vendor table and the old one?
I tried doing join
but it was made update
with the same id
of seller for all records of the vendas
table.