結果 : max function in sql with group by