TABLE 1: Transaction Details and Amount Positions
account_id tran_id amount position
1 1 100.0000 1
1 3 100.0000 2
1 5 100.0000 3
1 7 100.0000 4
1 2 200.0000 1
1 6 200.0000 2
1 4 300.0000 1
1 8 300.0000 2
2 8 100.0000 1
2 3 200.0000 1
2 7 200.0000 2
2 2 300.0000 1
2 4 300.0000 2
2 6 300.0000 3
2 1 400.0000 1
2 5 400.0000 2