結果 : postgresql group by array_agg distinct