select c.ci_id,
wm_concat(decode(instr(c.stu_ids,s.stu_id),0,'',s.stu_name)) as names
from pm_ci c,pm_stu s
group by c.ci_id
wm_concat(decode(instr(c.stu_ids,s.stu_id),0,'',s.stu_name)) as names
from pm_ci c,pm_stu s
group by c.ci_id
2016-03-04
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;
2016-03-02
select c.ci_id,wm_concat(s.stu_name)
from pm_ci c,pm_stu s where c.STU_IDS = s.STU_ID
group by c.CI_ID;
from pm_ci c,pm_stu s where c.STU_IDS = s.STU_ID
group by c.CI_ID;
2016-02-07
這什么老師啊,要不要人聽下去,英語差還可以理解,這講課的語氣,能把有氣無力和擲地有聲完美地結(jié)合,也真是為難你了~~
我只想好好聽一下SQL查詢,你能正常點(diǎn)嗎,老師~~~~
我只想好好聽一下SQL查詢,你能正常點(diǎn)嗎,老師~~~~
2016-01-23
select ci.ci_id, to_char(wm_concat(stu.stu_name)) STU_NAME
from pm_ci ci, pm_stu stu
where instr(ci.stu_ids, stu.stu_id) > 0
group by ci.ci_id;
from pm_ci ci, pm_stu stu
where instr(ci.stu_ids, stu.stu_id) > 0
group by ci.ci_id;
2016-01-13
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;
2016-01-07
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;
2016-01-07