Another option different from @jahswant
who will be busy momentarily watching his country battle Brazil in the World Cup would be to:
1. You open your first database db1
2. Attach db1 to the second database db2 using the ATTACH DATABASE statement
3. Create the table t2 in the second database like this:
strQuery=$"CREATE TABLE IF NOT EXISTS db2.t2 AS SELECT col1, col3, col4, col7
If you need more clarification, come back.