mysql 删除指定字段的值的最后字符

update 表名 set `name` = left(`name`,length(`name`) - 1)

 

注意了sqlite对left不支持

相关文章: