By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
ID | B | C | date01 | date02 | date03 |
---|---|---|---|---|---|
11 | xxx | xxxx | 2020-07-01 | 2020-07-03 | 2020-06-30 |
22 | xxx | xxxx | 2020-07-01 | 2020-07-03 | 2020-06-30 |
ID | B | C | date01 | date02 | date03 | rn |
---|---|---|---|---|---|---|
11 | xxx | xxxx | 2020-07-01 | 2020-07-03 | 2020-06-30 | 1 |
22 | xxx | xxxx | 2020-07-01 | 2020-07-03 | 2020-06-30 | 1 |