I have few records with a field "data" that contains a jsonb with cryptocurrencies amounts:
(cryptocurrencies can be different and in any quantity)
The task is to calculate the total amount of cryptocurrency and get something like:
CODE: SUM:
BTC 185.00002100
DOGE 2.00000000
How can I do this with SQL?
