会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wolf12
博客园
首页
新随笔
联系
订阅
管理
2016年6月6日
sql count统计技巧
摘要: select count(1) from table where columnname=value 写成 select count(case when columnname=value than 1 else null) from table 快些
阅读全文
posted @ 2016-06-06 16:39 wolf12
阅读(873)
评论(0)
推荐(0)
编辑