我有一个 SQL 视图步骤 1,它为我提供表单中的数据
Pool ID | Pool Alias Name
-----------------------
1 | pool alias 1
1 | pool alias 2
2 | pool alias 2-1
现在我想在下一步,即第2步将数据组合成一个xml字符串
<POOL>
<POOLID>1</POOLID>
<LIST>
<POOLALIASNAME>pool alias 1</POOLALIASNAME>
<POOLALIASNAME>pool alias 2</POOLALIASNAME>
</LIST>
</POOL>