結果 : case when distinct count sql