亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

請問老師我的程序寫的對嗎?

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; 請問老師對不對啊?什么時候公布答案?

正在回答

3 回答

最后一道練習題大概是這樣,但是wm_concat沒有排序 這里我也沒有處理到

0 回復 有任何疑惑可以回復我~

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


0 回復 有任何疑惑可以回復我~

group by放到語句后面。

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

請問老師我的程序寫的對嗎?

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號