我不知道我的查询出了什么问题,但我收到了这个错误:
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 a
INNER JOIN table2 b
ON a.column1 = b.column1 AND a.column2 = b.column2' at line 4
这是我正在尝试的 sql:
UPDATE table1 AS a
Set a.Closed = 2
From a
INNER JOIN table2 b
ON a.column1 = b.column1 AND a.column2 = b.column2
WHERE number in (01809076,02170039);