先打开目标数据库
> sqlite3 target.db;
连接被复制表的源数据库
> attach database ‘source.db’ as source2;
创建新表
> create table copyTable as select * from source2.targetTable;
先打开目标数据库
> sqlite3 target.db;
连接被复制表的源数据库
> attach database ‘source.db’ as source2;
创建新表
> create table copyTable as select * from source2.targetTable;