大家有见过这种写法的吗?什么含义呢?
select sum(id=123) from tbl
select count(id=123) from tbl
貌似第一个结果的含义是 id=123 的数据量(相当于 count 了),但是第二个得到的结果实在看不懂了。