mysql给指定字段添加后缀
例如,将表table中字段guige中的指定行(如18%)内容末尾添加“/PCC”:
update `table` set `guige` = concat(`guige`,'/PCC') where `guige` like '18%'
- 上一篇: 测试表格markdown
- 下一篇: ubuntu安装pytz
例如,将表table中字段guige中的指定行(如18%)内容末尾添加“/PCC”:
update `table` set `guige` = concat(`guige`,'/PCC') where `guige` like '18%'