摘要: 一般的,我们会在where, 或者 having中加条件,count中只是某个字段 今天看到另外一种写法,不知道性能怎么样 select count( case when xxx>10 and yyy<99 then bbb else null end) cm1, count( case when 阅读全文
posted @ 2019-02-25 13:42 funny_coding 阅读(21920) 评论(0) 推荐(1) 编辑
build beautiful things, share happiness