Extensions
Creating a Local Table
To avoid accessing the remote endpoint for every query, you can save the data in a DuckDB table by running a [`CREATE TABLE ... AS` command](#docs:sql:statements:create_table::create-table--as-select-ctas). For example:  
```sql
CREATE TABLE data AS
SELECT *
FROM 'hf://datasets/datasets-examples/doc-formats-csv-1/data.csv';
```  
Then, simply query the `data` table as follows:  
```sql
SELECT *
FROM data;
```