select t2.tenterprise_userid, t3.fsaler, t3.fname, t3.fprovince, t3.fcity, t3.fcounty, t3.fphonenumber
from tarchives_ad t1
         inner join tenterprise_users t2 on t1.siteid = t2.siteid and t2.fphonenumber is not null
    and t1.fagentcanread = 1 and t2.fusertype = '¾­ÏúÉÌ' and t2.fisadministrator = 1
         inner join user_agent_saler_view t3 on t1.siteid = t3.siteid and t2.tenterprise_userid = t3.tenterprise_userid
         left join tarchives_ad_userdata t4
                   on t1.tarchives_adid = t4.tarchives_adid and t2.tenterprise_userid = t4.tenterprise_userid
where t1.siteid = $siteid$ and t1.tarchives_adid=$tarchives_adid$ and t4.tarchives_ad_useid is null