結果 : select first record group by sql