By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 4 Duplicates: 0 Warnings: 0
Records: 3 Duplicates: 0 Warnings: 0
id | date | amount1 |
---|---|---|
1 | 2021-02-24 | 100 |
2 | 2021-02-25 | 200 |
3 | 2021-02-26 | 300 |
4 | 2021-02-26 | 400 |
id | date | amount2 |
---|---|---|
1 | 2021-02-24 | 500 |
2 | 2021-02-25 | 600 |
3 | 2021-02-25 | 700 |
date | amount1 | amount2 |
---|---|---|
2021-02-24 | 100 | 500 |
2021-02-25 | 200 | 600 |
2021-02-25 | 0 | 700 |
2021-02-26 | 300 | 0 |
2021-02-26 | 400 | 0 |