我的 SQL 查询是:
select MedicalHeightValue, MedicalWeightValue
from TableA
我的列名和值是:
MedicalHeightValue(67), MedicalWeightValue(220)
输出应该是这样的:
<HealthAttribute>
<Identifier>MedicalHeightValue</Identifier>
<Value>67</Value>
</HealthAttribute>
<Healtttribute>
<Identifier>MedicalWeightValue</Identifier>
<Value>220</Value>
</HealthAttribute>