Created
September 5, 2021 06:19
-
-
Save dickyaryag6/139860b7a2b3e744e64fa8ece903fd56 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 ('Mike', 'England', 'Software Engineer', 5) | |
| ON CONFLICT (name) | |
| DO UPDATE SET age = person.age + EXCLUDED.age; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment