Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Duplicating a MySQL table with all the data Command

CREATE TABLE `new_table` (id INT(11) auto_increment primary key) SELECT old_table.name, old_table.group, old_table.floor, old_table.age from old_table;
 
PREVIOUS NEXT
Tagged: #Duplicating #MySQL #table #data #Command
ADD COMMENT
Topic
Name
7+7 =