精品偷拍一区二区三区,亚洲精品永久 码,亚洲综合日韩精品欧美国产,亚洲国产日韩a在线亚洲

  • <center id="usuqs"></center>
  • 
    
  • oracle數(shù)據(jù)庫查詢問題 有張表數(shù)據(jù)如下:useid username course 1 a A 1 a B 2 b A 2 b C 3 c C 4 d null

    oracle數(shù)據(jù)庫查詢問題 有張表數(shù)據(jù)如下:useid username course 1 a A 1 a B 2 b A 2 b C 3 c C 4 d null
    怎么查詢,結(jié)果如下:
    userid username course
    1 a A,B
    2 b A,C
    3 c C
    4 d
    表數(shù)據(jù)為:
    userid username course
    1 a A
    1 a B
    2 b A
    2 b C
    3 c C
    4 d
    想得到結(jié)果如下:
    userid username course
    1 a A,B
    2 b A,C
    3 c C
    4 d
    其他人氣:597 ℃時(shí)間:2020-04-30 01:50:02
    優(yōu)質(zhì)解答
    oracle 10g 之后的版本(含10g)
    select userid,username,WMSYS.WM_CONCAT(course) from 表 group by userid,username
    我來回答
    類似推薦
    請使用1024x768 IE6.0或更高版本瀏覽器瀏覽本站點(diǎn),以保證最佳閱讀效果。本頁提供作業(yè)小助手,一起搜作業(yè)以及作業(yè)好幫手最新版!
    版權(quán)所有 CopyRight © 2012-2024 作業(yè)小助手 All Rights Reserved. 手機(jī)版