結果 : count distinct in case statement sql