So, I have this code
which gives me error 1064 on line 3.
And I don't see the issue. Anybody out there with any ideas?
Thanks,
Willie
Code:
UPDATE pcmover.Licenses
SET NumApproved='1'
FROM pcmover.Licenses L LEFT OUTER JOIN pcmover.Uses U
ON L.ID = U.LicenseID
WHERE L.NumApproved='2'
AND U.LicenseID IS NULL
which gives me error 1064 on line 3.
Code:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM pcmover.Licenses L LEFT JOIN pcmover.Uses U ON L.ID = U.LicenseID
WHERE L.' at line 3
Thanks,
Willie