By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 2 Duplicates: 0 Warnings: 0
id | CAST(data AS CHAR) |
---|---|
1 | {"products": [{"price": 1000}, {"price": 2000}]} |
2 | {"products": [{"price": 1234}, {"price": 2345}, {"price": 3456}]} |
id | total_price |
---|---|
1 | 3000 |
2 | 7035 |