📅  最后修改于: 2022-03-11 14:59:18.692000             🧑  作者: Mango
SELECT t.tbl, d.list
FROM tbl t, LATERAL (
SELECT string_agg(value::text, ', ') AS list
FROM json_array_elements_text(t.data->'tags')
) d