Connect your Database to MindsDB
To run queries native to your database, you must first connect your database to MindsDB using theCREATE DATABASE statement.
example_db database, which is a PostgreSQL database.
Run Queries Native to your Database
Once we have our PostgreSQL database connected, we can run PostgreSQL-native queries.Querying
To run PostgreSQL-native code, we must nest it within theSELECT statement like this:
SELECT * FROM example_db) informs MindsDB that we select from a PostgreSQL database. After that, we nest a PostgreSQL code within brackets.