Created
September 5, 2021 06:18
-
-
Save dickyaryag6/1d7fb1121b7f5137810fab488e04469b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INSERT INTO person | |
| (name, country, job, age) | |
| values ('Peter', 'Egypt', 'Engineering Manager', 32) | |
| ON CONFLICT (name) | |
| DO UPDATE SET job = EXCLUDED.job || ',' || person.job; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment