結果 : sql select max value and corresponding date