会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
沧海一粟95
博客园
首页
新随笔
联系
订阅
管理
2019年9月18日
MySQL同时统计两个条件的记录条数
摘要: SELECT count(case when `status`=5 then 1 else null end) as countOk,count(case when `status`=8 then 1 else null end) as countNo FROM mtl_order where st
阅读全文
posted @ 2019-09-18 10:43 沧海一粟95
阅读(2729)
评论(0)
推荐(0)
编辑
公告