我這樣寫的對(duì)不對(duì)
我怎么寫的都比你們復(fù)雜多了 select t3.ci_id ,wm_concat(select t2.stu_name from pm_ci t1 cross join pm_siu t2 group by t1.ci_id where t3.ci_id=t1.ci_id having instr(t1.stu_ids,'1')>0 or instr(t1.stu_ids,'2')>0 or instr(t1.stu_ids,'3')>0 or instr(t1.stu_ids,'4')from pm_ti t3;
2018-07-15
你這個(gè)怕是表里面加入了其他數(shù)據(jù)就要掛啊