MySQL 替换*中间4位为星号显示 select REPLACE(tel,SUBSTR(tel,4,4),'****') tel from rwork_uinfo where comp_id = 3722 查询结果: