extract property value from set of json arrays

Поиск
Список
Период
Сортировка
От AC Gomez
Тема extract property value from set of json arrays
Дата
Msg-id CABtmK-iYO9aSObk6DcNPBdX_fL+Hn3F+Mu32PRaoNJOB=hyS1Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: extract property value from set of json arrays
Список pgsql-general
I have the following in a postgresql table
row 1: {"a": 1, "b": "[{"c": "123", "d":"456", "e": "789"},  {"c": "222", "d":"111", "e": "000"} ]"}
row 2: {"a": 2, "b": "[{"c": "XXX", "d":"YYY", "e": "ZZZ"},  {"c": "666", "d":"444", "e": "333"} ]"}

How do I pullout all "b":"e" values  and end up with this result:
789
000
ZZZ
333


В списке pgsql-general по дате отправления:

Предыдущее
От: Guyren Howe
Дата:
Сообщение: How to unnest nested arrays
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: How to unnest nested arrays