sql去掉左边的零

SELECT REPLACE(LTRIM(REPLACE(CODE,'0',' ')),' ','0') FROM `user_info`

posted @ 2018-01-24 22:00  lhm_java  阅读(579)  评论(0编辑  收藏  举报