表内只有id
查询过后
select t1.id,group_concat(t2.DEPART_NAME) from
report_day as t1
inner join depart_info as t2
on find_in_set(t2.DEPART_ID,t1.publish_unit)>0
group by t1.id
表内只有id
查询过后
select t1.id,group_concat(t2.DEPART_NAME) from
report_day as t1
inner join depart_info as t2
on find_in_set(t2.DEPART_ID,t1.publish_unit)>0
group by t1.id