SQLite Forum

Query 2 databases
Login
> Is there any other command by which I can "attach database"?

Why do you want one? What's wrong with the one I pointed you to?

> attach att.db

No: `ATTACH 'att.db' as 'att';`

Then your SQL works, presuming that `att.db` contains `table2`, etc.