結果 : sql server get first record from each group