标签: sqlite
示例表:
pg_restore: too many arguments on the command line (the first being "-d")
我想修改RB列,使其不包含RA中的字符。 像这样:
ID RA RB ------ ------ ----- 1 龍 龍 竜 龒 2 齒 歯 齒 3 黽 黽
答案 0 :(得分:0)
仅replace个带有空字符串的字符:
UPDATE MyTable SET RB = replace(RB, RA, '');