Skip to content

Instantly share code, notes, and snippets.

@dickyaryag6
Created September 5, 2021 06:20
Show Gist options
  • Select an option

  • Save dickyaryag6/f8f301a71024e39d39af13452293890f to your computer and use it in GitHub Desktop.

Select an option

Save dickyaryag6/f8f301a71024e39d39af13452293890f to your computer and use it in GitHub Desktop.
INSERT INTO person
(name, country, job, age)
values ('Mike', 'England', 'Software Engineer', 30)
ON CONFLICT ON CONSTRAINT person_name_country_unique
DO NOTHING;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment