Skip to content

USE statement

The use datasource_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 be able to preview or SELECT from your database. If you haven't created a datasource after connecting to your database check out the simple steps explained here.

Preview the data

To connect to your database use the created datasource:

use datasource_name

Then, simply SELECT from the tables:

SELECT * FROM table_name;

Use datasource

Comments