結果 : postgres first_value with group by