嗨错误我得到一个非常非描述性错误 ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'VALUES (order_site_id, ord
我有一张表,其中包含商店ID和玩家ID以及玩家的积分。 我想要做的是将一个商店转移到另一个商店,事情是商店id和玩家id形成一个独特的索引。我想要做的是重复键更新,而不是让它失败,将一个条目的点添加到另一个条目并删除“from”条目。 喜欢的东西: UPDATE `playerspoints`
SET `boardId`=$to
WHERE `boardId`=$from
ON DUPLIC