select stuff((select '|'+ PostUser from tb_KPI_GWSZ where PostName='test' for xml path('')),1,1,'')
可以返回 123|456 字符串拼接好的结果