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