MySQL 替换手机号码中间4位为星号显示

select REPLACE(tel,SUBSTR(tel,4,4),'****') tel from rwork_uinfo where comp_id = 3722

 

  查询结果:

  

 

posted on 2020-02-15 12:13  滚动的蛋  阅读(2226)  评论(0编辑  收藏  举报

导航