Sudharsan Kannan
08/18/2022, 6:41 AMsum(case when column_a = 1 then 1 else 0 end)
vs
count(*) where column_a = 1
Follow-up : Is there a way to apply coalesce ?Mark Needham
08/18/2022, 9:17 AMselect sum(column_a)
from ...
Kishore G
Kishore G
Kishore G
Atri Sharma
08/18/2022, 1:48 PMKishore G