結果 : count distinct case statement sql