我希望创建一个新的mysql表,其字段与现有表相同。
但是,我不希望它有相同的键、索引等--只是相同的字段(当然还有字段类型)。
有什么简单的方法吗?
发布于 2013-08-05 12:26:37
create table new_table
select * from existing_table
limit 0发布于 2013-08-05 12:25:30
create myTable as
select col1, col2 ....from otherTable
where 1=2https://stackoverflow.com/questions/18058083
复制相似问题