Answers for "how to create table from other tables in mysql"

SQL
1

how to create a table structure from another table in mysql

CREATE TABLE new_tbl LIKE orig_tbl;  //(creates an empty table only definition is
                                        same.)
Posted by: Guest on August-09-2020
0

mysql create table from select statement

select * into <NEW_TABLE_NAME> from <OLD_TABLE>;
Posted by: Guest on March-31-2021

Code answers related to "how to create table from other tables in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language