标签: create-table
我有数据库db1和db2,我想将所有表格从db1复制到db2。我已多次尝试过。一张桌子:
db1
db2
create table backup.(table_name) select from db1.(table_name); create table backup.* select from db1.*;
答案 0 :(得分:0)
您可以尝试: select * from db1.database into db2.backup