結果 : count distinct values partition by sql