> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use a Data Source

## Description

The `USE integration_name` statement provides an option to use the connected
datasources and `SELECT` from the database tables. Even if you are
connecting to MindsDB as MySQL database, you will still be able to `SELECT` from your database.

## Syntax

To connect to your database `USE` the created datasource:

```sql theme={null}
USE integration_name;
```

Then, simply `SELECT` from the tables:

```sql theme={null}
SELECT * FROM table_name;
```

<img src="https://mintcdn.com/mindsdb/2W3ufVC_5_fCv4ZW/assets/sql/use.png?fit=max&auto=format&n=2W3ufVC_5_fCv4ZW&q=85&s=881691c7c47c535921c033b0648a3541" alt="Use datasource" width="786" height="690" data-path="assets/sql/use.png" />
