-
-
Save DomPixie/24c95cda5bf77203470ed32c313a9352 to your computer and use it in GitHub Desktop.
mysql copy table syntax
This file contains 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 IF NOT EXISTS new_table LIKE existing_table; | |
INSERT new_table SELECT * FROM existing_table; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment