By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
@input |
---|
sales: [ { id: 2, quantity: 5, price: 123, sum: 615 }, { id: 1, quantity: 9, price: 97, sum: 873 } ] |
JSON_VALID(@input) |
---|
0 |
@input |
---|
[{"id":2,"quantity":5,"price":123,"sum":615},{"id":1,"quantity":9,"price":97,"sum":873}] |
JSON_VALID(@input) |
---|
1 |
id | quantity | price | sum |
---|---|---|---|
2 | 5 | 123.00 | 615.00 |
1 | 9 | 97.00 | 873.00 |
jtin_id | jtin_qty | pi_qty | pi_price |
---|---|---|---|
2 | 5 | 5000 | 123.00 |
1 | 9 | 100 | 97.00 |
id | code | quantity | price | sum | idCheck | data |
---|---|---|---|---|---|---|
35 | 2 | 5 | 123.00 | 615.00 | 100 | 2020-11-13 10:35:08 |
36 | 1 | 9 | 97.00 | 873.00 | 100 | 2020-11-13 10:35:08 |
38 | 2 | 5 | 123.00 | 615.00 | 100 | 2020-11-13 10:35:08 |
39 | 1 | 9 | 97.00 | 873.00 | 100 | 2020-11-13 10:35:08 |
41 | 2 | 5 | 123.00 | 615.00 | 100 | 2020-11-13 10:35:08 |
42 | 1 | 9 | 97.00 | 873.00 | 100 | 2020-11-13 10:35:08 |