I have two tables. I want to UPDATE table1 when table1.MODEL = table2.MODEL:
This currently updates (0) zero rows, what am I doing wrong?
UPDATE table1 t1
INNER JOIN table2 t2
ON t1.MODEL = t2.MODEL
SET t1.LINK = t2.LINK
This should in theory set table1.LINK to table2.LINK where table1.MODEL = table2.MODEL but it updates zero rows.
Try using
Hope it helps…