如果把这件mysqlserver语句改写成在php 上用mysql语句
where a.contactid = c.contactid and b.deptid = c.deptid and c.isdisplay=1 and c.deptid in(select deptid from tab_EnterpriseDept_temp a where a.memo =(select memo from tab_EnterpriseDept_temp where deptid="&deptid&") or a.memo like(select memo+'/%' from tab_EnterpriseDept_temp where deptid="&deptid&"))谢谢帮忙!!!
where a.contactid = c.contactid and b.deptid = c.deptid and c.isdisplay=1 and c.deptid in(select deptid from tab_EnterpriseDept_temp a where a.memo =(select memo from tab_EnterpriseDept_temp where deptid="&deptid&") or a.memo like(select memo+'/%' from tab_EnterpriseDept_temp where deptid="&deptid&"))谢谢帮忙!!!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货