select status, count(status),langtype
from card.card_verify
group by status, langtype
having status in(30,31,1)
union
select status, count(status),3 as langtype
from card.card_verify
where status = 30
and langtype = 0 and part!=1 and pre_verify_user<0 and verify_type>0
最后
以上就是会撒娇热狗最近收集整理的关于mysql 合并两个结果集的全部内容,更多相关mysql内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复