mysql字段批量截尾操作

118 阅读1分钟

update account set flag=left(flag,CHAR_LENGTH(flag) - 3) where flag like"%ABC"