---
title: Connect to the data
description: Connect to Queria datasets from tools other than the browser, such as BI tools and SQL clients
---

Queria datasets are published in the DuckLake format. Any tool that can use DuckDB 1.5.2 or later can run SQL on them directly, outside the browser.

To save the data as a file, [download it from the browser](/en/connection/download-data).

## Choose how to connect

- [Download from the browser](/en/connection/download-data) : download as CSV, Parquet or Excel, or export to Google Sheets
- [Queria CLI](/en/connection/queria-cli) : find datasets, run SQL and save the results as Parquet and other files from the terminal (see the [quickstart](/en/cli/quickstart))
- [DuckDB CLI](/en/connection/duckdb-cli) : ATTACH a dataset in the DuckDB shell and run SQL
- [Python](/en/connection/python) : get results as DataFrames with the duckdb package
- [JavaScript](/en/connection/javascript) : run SQL and draw charts and maps in a web page with the queria package from npm
- [Tableau Desktop](/en/connection/tableau) : build charts and maps in Tableau
- [Analyze with AI agents](/en/agent-analysis) : ask Claude Code and similar agents to do the analysis in plain language

## Find the dataset to connect to

Find datasets in the [dataset list](https://queria.io/en/datasets). See [Explore datasets](/en/exploring-datasets) for how to search and filter.

Copy the ATTACH SQL from "Use this table" → "Open with a tool" → "DuckDB CLI" on a table page. Add `ducklake:` in front of the DuckLake URL and pass it to ATTACH.

```sql
ATTACH 'ducklake:https://data.queria.io/e_stat/metadata.db' AS e_stat (READ_ONLY);
```

On a table page, "Use this table" → "Open with a tool" lets you copy a Queria CLI command or the initial SQL for Tableau Desktop.
