0
我當前的代碼,上更新語句MySQL的語法錯誤
UPDATE i
SET LeadInventor =
CASE
WHEN gs.FirstInventorName IS NULL THEN 'No'
ELSE 'Yes'
END
FROM patentdb.Inventor i
LEFT JOIN patentdb.generalsource gs
ON i.InventorFirst + ' ' + i.InventorLast = gs.FirstInventorName
,我不明白爲什麼它會引發以下錯誤:
Error Code: 1064. 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 patentdb.Inventor i LEFT JOIN patentdb.generalsource gs ON i.Invent' at line 7
的FROM語句是什麼MySQL是強調