結果 : how to use case with aggregate function in sql