Conditional counting: Performance differences in using SUM() vs COUNT()?

前端 未结 4 1786
隐瞒了意图╮
隐瞒了意图╮ 2021-01-18 10:38

Just as a very simple example, let\'s say I have table test with sample data like so:

a     |     b      
-------------
1     |    18
1     |            


        
4条回答
提交回复
热议问题