mysql 用GROUP_CONCAT 然后判断字符串 like'营' 和'一对一' 的人
再跟一对一课程大于176的 结果集取交集
create table tb(id int, value varchar(10))
insert into tb values(1, 'aa')
insert into tb values(1, 'bb')
insert into tb values(2, 'aaa')
insert into tb values(2, 'bbb')
insert into tb values(2, 'ccc')
go
SELECT * from tb;
select id, [value] = stuff((select ',' + [value] from tb t where id = tb.id for xml path('')) , 1 , 1 , '')
from tb
group by id