How to get a Null in this numeric statement

前端 未结 0 1922
别那么骄傲
别那么骄傲 2020-12-18 09:39

count(distinct case when xyz is true then id else null end) as blahblah

When the case statement returns is null it shows a 0 but I would like for it to b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题