标签: mysql
以下因某种原因导致语法错误
UPDATE payments SET Payment_method = 'Paypal', Payment_status = 0 WHERE Order_ID = 'CGP3Q'
但是这样可以正常工作,表明问题出在WHERE子句
WHERE
UPDATE payments SET Payment_method = 'Paypal', Payment_status = 0
我确认列Order_ID存在且包含CGP3Q
Order_ID
CGP3Q