select
--手机显示前八位,后几位以*显示
substr(c.mobile,1,8)||'***' as mobile,
--通讯地址(后五码以*****显示)
c.province||c.city||substr(c.address,length(c.address)-5+1,5)||'*****' as addr
from customer c
select
--手机显示前八位,后几位以*显示
substr(c.mobile,1,8)||'***' as mobile,
--通讯地址(后五码以*****显示)
c.province||c.city||substr(c.address,length(c.address)-5+1,5)||'*****' as addr
from customer c