I used the SELECT COUNT(*) to check my WHERE statement and got the correct number of updates, however when I attempt the UPDATE I get a syntax error around line 3.
UPDATE scans AS s
SET s.sbjnum = d.sbjnum
JOIN details AS d on d.name = s.name
WHERE s.sbjnum =''
You have to have a
FROMto have aJOINAccording to the MySQL manual you can write it like this: