I have the below XML
<Attributes>
<Map>
<entry key="ABC">
<value>
<List>
<String>12 3</String>
<String>4 56</String>
</List>
</value>
</entry>
</Map>
</Attributes>
The below SQL
SELECT COALESCE(
ExtractValue(
attributes,
'/Attributes/Map/entry[1]/value/List/String'),
'N/A'
)
FROM mytable
is returning the below
12 3 4 56
How can I get results in separate rows
12 3
4 56
It seems that you are using MySQL.
dbfiddle
SQL
Output