結果 : sql get first record of group