Created
February 11, 2016 16:32
-
-
Save diegoarigony/90ba60c3e6b3795e7ea3 to your computer and use it in GitHub Desktop.
Remove duplicated entries from mysql db - From http://stackoverflow.com/a/3312066/3641927
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
ALTER IGNORE TABLE jobs | |
ADD UNIQUE INDEX idx_name (site_id, title, company); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment