sqlite cannot create table in attached database code example
Example: sqlite3 create table from another table
UPDATE Table1 set Name=(select t2.Name from Table2 t2 where t2.id=Table1.id)
UPDATE Table1 set Name=(select t2.Name from Table2 t2 where t2.id=Table1.id)