sql里将重复行数据合并为一行,数据用逗号分隔从这篇博客中找到了答案(记录一下): https://blog.csdn.net/chaoyangzhixue/article/details/52411145