SELECT
concat('update t_user t set t.username=', t.username, ' where t.id=', t.id, ';')
FROM
t_user t
WHERE
t.id = 1;
MYSQL备份指定数据
最新推荐文章于 2024-03-25 22:53:33 发布
SELECT
concat('update t_user t set t.username=', t.username, ' where t.id=', t.id, ';')
FROM
t_user t
WHERE
t.id = 1;