結果 : sql group by first record