MySql怎样去掉某个字段最后的逗号或最后的字

update 表 set 字段=left(字段,char_length(字段)-1) where right(字段,1)=',';

原文地址:https://www.cnblogs.com/netliang/p/4218008.html