... (4, 'back', '22', 2), (5, 'front', '3', 3); select json_build_object( 'persons', json_agg( case when cars is null then json_build_object( 'person_name', ...
確定! 回上一頁