結果 : sql select distinct where max date