By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
5 rows affected
| month | result | month_total | per_cent |
|---|---|---|---|
| 2021-01 | 20 | 100 | 20 |
| 2021-01 | 30 | 100 | 30 |
| 2021-01 | 50 | 100 | 50 |
| 2021-02 | 70 | 150 | 46 |
| 2021-02 | 80 | 150 | 53 |
5 rows affected
| month | result | month_total | per_cent |
|---|---|---|---|
| 2021-01 | 20 | 100 | 20 |
| 2021-01 | 30 | 100 | 30 |
| 2021-01 | 50 | 100 | 50 |
| 2021-02 | 70 | 150 | 46 |
| 2021-02 | 80 | 150 | 53 |