Created
June 30, 2020 19:34
-
-
Save DominicWatts/7163aaab1fbfb0a926fc7445cf9c8bd4 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