sql将一列转为一行

select stuff((select ';'+name from Student for xml path('')),1,1,'') as name

 

    原文作者:_平凡的自我_
    原文地址: https://blog.csdn.net/zhh123sy001/article/details/84390051
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞