select t1.id, array_agg( json_build_object('id', t2.id, 'status', t2.status) ) as statuses from table1 t1 inner join table2 t2 on ...
確定! 回上一頁