結果 : sql select value for max date