日期:2014-05-18 浏览次数:20367 次
select a.* from a,b where ','+a.country+',' like '%,'+b.country+',%'
------解决方案--------------------
select a.* from a , b
where '、' + a.country + '、' like '%、' + b.country + '、%'
select a.* from a , b
where charindex('、' + b.country + '、' , '、' + a.country + '、') > 0
------解决方案--------------------
select distinct a.* from a join b where a.country like '%' + b.country + '%'
------解决方案--------------------
select a.* from a join b where a.country like '%' + b.country + '%'