What's wrong with this query? I am linking 2 tables on their key field and need to update 1 based on a field value in the other.
UPDATE Table1
INNER JOIN Table2
ON Table1.ID = Table2.ID
SET Table1.Status = 'R'
WHERE Table2.Complete Is Null Or Table2.Complete=0
AND Table1.ReleaseDate Is Not Null AND Table1.ReleaseDate>=Date-3
0
Error message is ... Incorrect syntax near the keyword 'INNER'.
Start Free Trial