Skip to content

Instantly share code, notes, and snippets.

@ddbs
Created February 26, 2014 20:44
Show Gist options
  • Save ddbs/9238149 to your computer and use it in GitHub Desktop.
Save ddbs/9238149 to your computer and use it in GitHub Desktop.
sql: insert only new records
INSERT IGNORE INTO _customers (`User ID`, Username)
SELECT `User ID`, Username
FROM _customers_import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment