QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE", "memoryDB");db.setDatabaseName(":memory:");
ATTACH DATABASE New.db AS new;CREATE TABLE new.stuff AS (SELECT * FROM table)