結果 : array_agg postgresql get first element