By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
✓
✓
col1 | col2 | col1 | col3 |
---|---|---|---|
1 | 1 | 2 | 1 |
2 | 1 | 3 | 1 |
2 | 2 | 4 | 1 |
3 | 1 | 4 | 3 |
3 | 2 | 5 | 1 |
col1 | col1 | col3 |
---|---|---|
1 | 2 | 1 |
3 | 4 | 3 |
✓
✓
col1 | col2 | col1 | col3 |
---|---|---|---|
1 | 1 | 2 | 1 |
2 | 1 | 3 | 1 |
2 | 2 | 4 | 1 |
3 | 1 | 4 | 3 |
3 | 2 | 5 | 1 |
col1 | col1 | col3 |
---|---|---|
1 | 2 | 1 |
3 | 4 | 3 |