https://duckdb.org/docs/lts/sql/statements/attach
ATTACH and DETACH Statements – DuckDB
DuckDB allows attaching to and detaching from database files. Examples Attach the database file.db with the alias inferred from the name (file): ATTACH...
attach and detachstatementsduckdb