I am trying to update TableA with values from TableB, matched by the unique id field and add a WHERE condition.
Searched the web and found the code below. For some reason MYSQL states that there's as syntax error.
UPDATE
TableA
SET
TableA.field1 = TableB.field1
FROM
TableA
INNER JOIN
TableB
ON
TableA.id = TableB.id
WHERE
TableA.field1 <> ''
LIMIT 100;