📜  mysql #1064 错误 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:11.759000             🧑  作者: Mango

代码示例1
UPDATE test
SET  field  = IF(something == 1{CONDITION}, 1 {NEW VALUE}, field)
WHERE `id` = 5