I\'m writing data into an sqlite database, but because the data set is very large, I\'m splitting the process into five pieces. As a result, I\'m writing to five different sqlit
You can use ATTACH to make the contents of another database file accessible in the same connection:
ATTACH "/some/where/db2.sqlite" AS db2;
INSERT INTO main.MyTable SELECT * FROM db2.MyTable;
(The main database is always called main
; opening a new database connection is the equivalent of ATTACH "filename" AS main
.)