By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
ID | COLUMN_D | COLUMN_E | COLUMN_F |
---|---|---|---|
1 | VALUE1 | 10 | 2024-03-01 |
1 | VALUE1 | 11 | 2024-03-02 |
1 | VALUE2 | 10 | 2024-03-01 |
2 | VALUE1 | 15 | 2024-03-01 |
2 | VALUE2 | 12 | 2024-03-01 |
2 | VALUE2 | 12 | 2024-03-02 |
id | value1 | value2 | column_f |
---|---|---|---|
1 | 10 | 10 | 2024-03-01 |
1 | 11 | null | 2024-03-02 |
2 | 15 | 12 | 2024-03-01 |
2 | null | 12 | 2024-03-02 |
Warning: Null value is eliminated by an aggregate or other SET operation.
id | value1 | value2 | column_f | rn |
---|---|---|---|---|
1 | 10 | 10 | 2024-03-01 | 1 |
1 | 11 | null | 2024-03-02 | 1 |
2 | 15 | 12 | 2024-03-01 | 1 |
2 | null | 12 | 2024-03-02 | 1 |
Warning: Null value is eliminated by an aggregate or other SET operation.
id | value1 | value2 | column_f | rn |
---|---|---|---|---|
1 | 10 | 10 | 2024-03-01 | 1 |
1 | 11 | null | 2024-03-02 | 1 |
2 | 15 | 12 | 2024-03-01 | 1 |
2 | null | 12 | 2024-03-02 | 1 |
Warning: Null value is eliminated by an aggregate or other SET operation.