結果 : case with aggregate function in sql