select '['+title_a+','+title_b +']' from A for xml path('')
SELECT *, (select '['+title_a+','+title_b +']' from A where A.t_id=B.t_id for xml path('')) FROM B
2021-08-31 19:38:19
select '['+title_a+','+title_b +']' from A for xml path('')
SELECT *, (select '['+title_a+','+title_b +']' from A where A.t_id=B.t_id for xml path('')) FROM B
下一篇:linux安装python