<value1>
<name>
<account id="4567890" firstname="abc">
</account>
</name>
</value1>
我需要在 xml 中的帐户标签中取出 id
SELECT
T.id
, T.request_xml.value(
'(Value1/name/account/id)[1]',
'varchar(50)'
) AS id
FROM [table] AS T