批量修改数据 要根据主键Id 批量修改字段Value的值 且 value 的值是不一样。
UPDATE gold_chip set chip_money_win=(case
when chip_id = 1 then 1
when chip_id = 5 than 2
when chip_id = 12 than 3
end)
UPDATE gold_chip set chip_money_win=(case
when chip_id = 1 then 1
when chip_id = 5 than 2
when chip_id = 12 than 3
end)