By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| @@version |
|---|
| 8.0.24 |
| year | week | number_of_starts | number_of_records |
|---|---|---|---|
| 2018 | 22 | 1 | 1 |
| 2018 | 23 | 3 | 4 |
| 2018 | 24 | 1 | 5 |
| 2019 | 23 | 3 | 8 |
| 2019 | 24 | 2 | 10 |
| year | week | number_of_starts | number_of_records |
|---|---|---|---|
| 2018 | 22 | 1 | 1 |
| 2018 | 23 | 3 | 4 |
| 2018 | 24 | 1 | 5 |
| 2019 | 23 | 3 | 3 |
| 2019 | 24 | 2 | 5 |
| the_year | the_week | cum_rec |
|---|---|---|
| 2018 | 22 | 1 |
| 2018 | 23 | 4 |
| 2018 | 24 | 5 |
| 2019 | 23 | 3 |
| 2019 | 24 | 5 |