MySQL怎么把小数转换为百分比?

SELECT concat(num,"%") from test;#一句话搞定

 注释:test:表名;num:字段名

posted @ 2018-04-11 09:52  那时的吻狠陶醉  阅读(2118)  评论(0编辑  收藏  举报