By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
ID | Date | Value |
---|---|---|
1 | 2023-01-17 | Bad |
1 | 2023-01-17 | Good |
1 | 2023-01-18 | Enough |
1 | 2023-01-17 | Good |
1 | 2023-03-15 | Bad |
1 | 2023-03-20 | Good |
2 | 2023-01-10 | Bad |
2 | 2023-01-19 | Enough |
2 | 2023-02-25 | Bad |
2 | 2023-03-11 | Bad |
3 | 2022-12-20 | Good |
3 | 2023-03-13 | Good |
3 | 2023-03-29 | Enough |
ID | Date | Value |
---|---|---|
1 | 2022-12-31 | null |
1 | 2023-01-18 | Enough |
1 | 2023-02-28 | Enough |
1 | 2023-03-20 | Good |
2 | 2022-12-31 | null |
2 | 2023-01-19 | Enough |
2 | 2023-02-25 | Bad |
2 | 2023-03-11 | Bad |
3 | 2022-12-20 | Good |
3 | 2023-01-31 | Good |
3 | 2023-02-28 | Good |
3 | 2023-03-29 | Enough |
Warning: Null value is eliminated by an aggregate or other SET operation.