# ATTACH DATABASE

say it: **“uh-TACH DAY-tuh-bays”** **/əˈtætʃ ˈdeɪtəbeɪs/**

Opens another database file to query across both.

## What is **ATTACH DATABASE**?

`ATTACH DATABASE` opens another database file in the same connection so you can query across both.

Level: Journeyman · [More SQLite terms at this level](https://www.ask-codey.com/glossary?category=sqlite&level=3)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/attach-database
