I have a set of XML as follows in a column "test" of type xml. The table is "cow".
<p>
<k>query</k>
<v>
<w id="a" name="b">
<p>
<op>IN</op>
<v name="apple">1</v>
<v name="pear">2</v>
<v name="kiwi">3</v>
<v name="carrot">4</v>
</p>
</w>
</v>
</p>
I want to write a select statement that returns 1 row and 1 column with a value of "apple, pear, kiwi, carrot". Is this even possible?