SQL语句 合并列值 将一列的多个值合并成一行
摘要:
oralce写法: select WM_CONCAT(A.title) as citys from tmpcity A sql server写法: select stuff((select ','+A.title from tmpCity A FOR xml PATH('')), 1, 1, '') 阅读全文
posted @ 2017-12-22 12:54 吉晨 阅读(1853) 评论(0) 推荐(0)
浙公网安备 33010602011771号