日期:2014-05-18 浏览次数:20524 次
select iDCID,cDCName from basic_DistrictClass where basic_DistrictClass.iDCID in ( select iDCID from KHGL_Customer where iCustomerId=@iCustomerId )
------解决方案--------------------
select iDCID,cDCName from basic_DistrictClass where basic_DistrictClass.iDCID in ( select iDCID from KHGL_Customer where iCustomerId=@iCustomerId )
------解决方案--------------------
select k.iDCID,b.cDCName from KHGL_Customer as k join basic_DistrictClass b on k.iDCID=b.iDCID where iCustomerId=@iCustomerId