摘要:
一般的,我们会在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
阅读(22031)
评论(0)
推荐(1)

浙公网安备 33010602011771号