By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
3 rows affected
3 rows affected
| prodCode | start_date | end_date |
|---|---|---|
| 111 | 2001-01-01 | 2001-01-10 |
| 222 | 2001-01-02 | null |
| 223 | null | null |
Warning: Null value is eliminated by an aggregate or other SET operation.