結果 : postgres select first value in group