select *,
(select title as 'data()' from t_DiagnosticReason b where b.type=1 and (a.indication & b.id)>0 for xml path('')) as title
from t_a as a
最后
以上就是帅气季节最近收集整理的关于sql语句显示复选内容, indication 为复选框的累计value(整数),显示所有的的全部内容,更多相关sql语句显示复选内容,内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复