select distinct * from (
select * from b1 where tto like '1,*'
union
select * from b1 where tto like '*,1'
union
select * from b1 where tto like '*,1,*'
)
select * from b1 where tto like '*1*'
这样子的话连 10,2,3也会出现啊
select * from b1 where tto like '1,*'
union
select * from b1 where tto like '*,1'
union
select * from b1 where tto like '*,1,*'