mysql 查询时 给手机号打码

SELECT CONCAT(LEFT(phone,3), '****' ,RIGHT(phone,4)) AS phone FROM user;

posted @ 2020-07-02 10:28  起凤桥  阅读(337)  评论(0)    收藏  举报