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

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

結果是出來了,但不知是否有BUG,總感覺哪里有問題

col 課程號 format a5
col 選課名單 format a20
select c.ci_id 課程號,wm_concat(s.stu_name) 選課名單
from pm_ci c,pm_stu s
where instr(c.stu_ids,s.stu_id)>0
group by c.ci_id;

踏破鐵鞋無覓處,驀然回首,答案就在燈火闌珊處

正在回答

1 回答

select p.ci_id,max(stu_name) as STU_NAME
from (select c.ci_id,wm_concat(s.stu_name)?
over(partition BY c.stu_ids order by s.stu_id) as stu_name
from pm_ci c,pm_stu s
where instr(c.stu_ids,s.stu_id) > 0) p?
group by p.ci_id

查詢出來后有排序效果的..

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

舉報

0/150
提交
取消

結果是出來了,但不知是否有BUG,總感覺哪里有問題

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

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

幫助反饋 APP下載

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

公眾號

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