By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
NAME | DATE | FLAG | CYCLE |
---|---|---|---|
x | 2014 | 0 | null |
x | 2015 | 0 | null |
x | 2016 | 1 | 1 |
x | 2017 | 1 | 1 |
x | 2018 | 0 | null |
x | 2019 | 1 | 2 |
x | 2020 | 0 | null |
x | 2021 | 1 | 3 |
y | 2014 | 0 | null |
y | 2016 | 1 | 1 |
y | 2017 | 0 | null |
y | 2018 | 1 | 2 |