SELECT t.tbl_id, string_agg(d.elem::text, ', ') AS list FROM tbl t CROSS JOIN LATERAL json_array_elements(t.data - > 'tags') AS d(elem) ...
確定! 回上一頁