Answer the question
In order to leave comments, you need to log in
How to calculate aggregation in json field in postgresql?
[{"id":1, "amount": 5}, {"id":2, "amount": 10}]
How to calculate relative amount using sql? I want to get
id = 1, amount = 5/15
id = 2, amount 10/15
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question