By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
schet_factura | id | n_amount | amount | nds | d_nds | d_nds_round_fix | d_dns_res | sum_d_dns_res |
---|---|---|---|---|---|---|---|---|
1 | 7 | null | 0.00 | 1000 | 0.00 | 0.00 | 0.00 | 1000.00 |
1 | 1 | 27.38 | 27.38 | 1000 | 56.30 | 0.00 | 56.30 | 1000.00 |
1 | 6 | 59.01 | 59.01 | 1000 | 121.33 | 0.00 | 121.33 | 1000.00 |
1 | 2 | 99.99 | 99.99 | 1000 | 205.59 | 0.00 | 205.59 | 1000.00 |
1 | 3 | 99.99 | 99.99 | 1000 | 205.59 | 0.00 | 205.59 | 1000.00 |
1 | 4 | 99.99 | 99.99 | 1000 | 205.59 | 0.00 | 205.59 | 1000.00 |
1 | 5 | 99.99 | 99.99 | 1000 | 205.59 | 0.01 | 205.60 | 1000.00 |
schet_factura | id | n_amount | amount | nds | d_nds | d_nds_round_fix | d_dns_res | sum_d_dns_res |
---|---|---|---|---|---|---|---|---|
1 | 1 | 0 | 0 | 1000 | 0.00 | 0.00 | 0.00 | 1000.00 |
1 | 7 | null | 0 | 1000 | 0.00 | 1000.00 | 1000.00 | 1000.00 |