Skip to content

Instantly share code, notes, and snippets.

@mtigdemir
Last active August 29, 2015 14:10
Show Gist options
  • Save mtigdemir/7f45ca07610a14bc5cae to your computer and use it in GitHub Desktop.
Save mtigdemir/7f45ca07610a14bc5cae to your computer and use it in GitHub Desktop.
Duplicate Clone Table MySQL
CREATE TABLE table LIKE original_table;
INSERT INTO table SELECT * FROM original_table;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment