Data Import
Inserts and Views
You can also insert the data into a table or create a table from the Parquet file directly. This will load the data from the Parquet file and insert it into the database:  
Insert the data from the Parquet file in the table:  
```sql
INSERT INTO people
SELECT * FROM read_parquet('test.parquet');
```  
Create a table directly from a Parquet file:  
```sql
CREATE TABLE people AS
SELECT * FROM read_parquet('test.parquet');
```  
If you wish to keep the data stored inside the Parquet file, but want to query the Parquet file directly, you can create a view over the `read_parquet` function. You can then query the Parquet file as if it were a built-in table:  
Create a view over the Parquet file:  
```sql
CREATE VIEW people AS
SELECT * FROM read_parquet('test.parquet');
```  
Query the Parquet file:  
```sql
SELECT * FROM people;
```