By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
6 rows affected
CustomerID | Name | |
---|---|---|
1 | John Smith | john@example.com |
2 | Jane Doe | jane@example.com |
3 | Mark Brown | mark@example.com |
CustomerID | Name | |
---|---|---|
1 | John Johnson | john.j@example.com |
3 | Mark Brown | updated_mark@example.com |
4 | Emily White | emily@example.com |
CustomerID | Name | |
---|---|---|
1 | John Johnson | john.j@example.com |
3 | Mark Brown | updated_mark@example.com |
4 | Emily White | emily@example.com |
CustomerUpdatesLogID | Action | CustomerID | Name | NewName | NewEmail | ChangeTimestamp | |
---|---|---|---|---|---|---|---|
1 | UPDATE | 1 | John Smith | john@example.com | John Johnson | john.j@example.com | 2023-09-06 20:09:47.017 |
2 | DELETE | 2 | Jane Doe | jane@example.com | null | null | 2023-09-06 20:09:47.017 |
3 | UPDATE | 3 | Mark Brown | mark@example.com | Mark Brown | updated_mark@example.com | 2023-09-06 20:09:47.017 |
4 | INSERT | null | null | null | Emily White | emily@example.com | 2023-09-06 20:09:47.017 |