select c.pm_ci CI_ID, wm_concat(s.stu_name) STU_NAME
from pm_ci c , pm_stu s
where instr(c.stu_ids , s.stu_name) > 0
group by c.ci_id;
from pm_ci c , pm_stu s
where instr(c.stu_ids , s.stu_name) > 0
group by c.ci_id;
這什么老師啊,要不要人聽下去,英語差還可以理解,這講課的語氣,能把有氣無力和擲地有聲完美地結合,也真是為難你了~~
我只想好好聽一下SQL查詢,你能正常點嗎,老師~~~~
我只想好好聽一下SQL查詢,你能正常點嗎,老師~~~~
2016-01-23
select a.ci_id,wm_concat(b.stu_name) group by a.ci_id
from pm_ci a ,pm_stu b
where instr(a.stu_ids, b.stu_id)=b.stu_id;
from pm_ci a ,pm_stu b
where instr(a.stu_ids, b.stu_id)=b.stu_id;
select a.ci_id,wm_concat(b.stu_name) group by a.ci_id from pm_ci a ,pm_stu b where instr(a.stu_ids, b.stu_id)=b.stu_id;