By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Status1 | Status2 | Dt1 | Dt2 |
---|---|---|---|
A | D | 2019-05-23 10:00:00 | 2019-05-23 13:00:00 |
A | D | 2019-05-23 14:00:00 | 2019-05-23 17:00:00 |
A | null | 2019-05-23 18:00:00 | null |
Warning: Null value is eliminated by an aggregate or other SET operation.