結果 : select max date sql group by