3. json_build_object() in Postgres 9.4 or later. SELECT a.id, a.name , json_agg(json_build_object('col1', b.col1, 'col2', b.col2, 'col3', ...
確定! 回上一頁