SELECT
concat('update t_user t set t.username=', t.username, ' where t.id=', t.id, ';')
FROM
t_user t
WHERE
t.id = 1;
SELECT
concat('update t_user t set t.username=', t.username, ' where t.id=', t.id, ';')
FROM
t_user t
WHERE
t.id = 1;