結果 : sql select group by with max value