select tool_id_1=stuff((select '/ '+model_id from tool as aa where aa.tool_id=b.tool_idfor xml path('')),1,1,'')
from
tool_part as b
select tool_id_1=stuff((select '/ '+model_id from tool as aa where aa.tool_id=b.tool_idfor xml path('')),1,1,'')
from
tool_part as b