Is it possible to create a query that, given this jsonb field value:
{
"a": {
"e1": 10,
"e2": 30,
"e3": 50
},
"b": {
"e1": 20,
"e2": 40,
"e3": 60
}
...
}
(note that the json object may have a variable number of keys)
returns this table:
e1 | e2 | e3
---+----+----
10 | 30 | 50
20 | 40 | 60
...
using the JSON functions and operators available in Postgresql 15?