請(qǐng)問老師我的程序?qū)懙膶?duì)嗎?
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; 請(qǐng)問老師對(duì)不對(duì)啊?什么時(shí)候公布答案?
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; 請(qǐng)問老師對(duì)不對(duì)啊?什么時(shí)候公布答案?
2016-01-07
舉報(bào)
2016-02-22
最后一道練習(xí)題大概是這樣,但是wm_concat沒有排序 這里我也沒有處理到
2016-02-22
select c.ci_id,
wm_concat(case when instr(c.stu_ids,p.stu_id)>0 then p.stu_name end) stu_name?
from cm_ci c, pm_siu p?
where instr(c.stu_ids,p.stu_id)>0?
group by c.ci_id
2016-01-07
group by放到語句后面。