Last active
January 27, 2017 02:16
-
-
Save davesgonechina/4a502a59625a744dca8296b6dbb0f283 to your computer and use it in GitHub Desktop.
MySQL dedup
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
| CREATE TABLE new_table as | |
| SELECT * FROM old_table WHERE 1 GROUP BY [column to remove duplicates by]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment