関連ワード:  count distinct case when postgresql  
結果 : count distinct case when postgresql