結果 : sql count distinct case when