如何复制MySQL表的数据,将旧的数据复制到新的表中?
这是我尝试过的,但它复制了数据和结构,而不是索引:
create table {new_table} select * from {old_table};
这不会复制数据,而只复制结构和索引:
create table {new_table} like {old_table};
https://stackoverflow.com/questions/38192548
相似问题