将xmltype解析到数据透视表xml之后的表中

问题描述 投票:0回答:1

我在数据透视xml之后返回XMLTYPE

<PivotSet>
<item>
        <column name = "country">Ukraine</column>
        <column name = "population">12345</column>
    </item>
    <item>
        <column name = "country">Germany</column>
        <column name = "population">67891</column>
    </item>
...
</PivotSet>

我需要获取看起来像的表

Ukraine_population|Germany_population|...

12345             |67891             |...
sql oracle xml-parsing pivot xmltable
1个回答
1
投票
© www.soinside.com 2019 - 2024. All rights reserved.