By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| id | val | test | action | comment |
|---|---|---|---|---|
| 1 | 1 | 1 | insert | null |
| 2 | 2 | 1 | insert | null |
| id | val | test | action | comment |
|---|---|---|---|---|
| 1 | 1 | 2 | update | null |
| 2 | 2 | 2 | update | null |
| 3 | 3 | 1 | insert | null |
| id | val | test | action | comment |
|---|---|---|---|---|
| 1 | 1 | 3 | update | 3 is correct! |
| 2 | 2 | 2 | update | null |
| 3 | 3 | 1 | insert | null |
| id | val | test | action | comment |
|---|---|---|---|---|
| 1 | 1 | 4 | update | 4 is correct! |
| 2 | 2 | 2 | update | null |
| 3 | 3 | 1 | insert | null |