I have an array of json -
[{id:1,quantity:100},{id:2,quantity:25},{id:3,quantity:68}]
How do convert this into following using query in postgres -
Id |Quantity
-----------------
1 |100
2 |25
3 |68
If it is at all possible, I want to know how