Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql how to duplicate a table

CREATE TABLE new_table LIKE original_table;
INSERT INTO new_table SELECT * FROM original_table;
Source by popsql.com #
 
PREVIOUS NEXT
Tagged: #sql #duplicate #table
ADD COMMENT
Topic
Name
3+4 =