By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
5 rows affected
Code | Fee | AValue | num |
---|---|---|---|
A001 | 001 | 100.0000 | 1 |
A001 | 002 | 200.0000 | 1 |
A001 | 003 | -50.0000 | 1 |
A001 | 004 | -250.0000 | 1 |
A001 | 005 | 340.0000 | 2 |