app

DB Fiddle

Run SQL without leaving chat

The DB Fiddle plugin lets users run SQL against a disposable sandbox environment, directly from ChatGPT and Codex.

Create database schemas, load sample data, execute queries, and inspect real database results without connecting to a production database or external system.

The sandbox provides the perfect place for ChatGPT and Codex to iterate on queries and safely debug SQL, reproduce database issues, validate queries and experiment with any of the supported database engines.

Supported database engines: PostgreSQL, MySQL, MariaDB, SQLite and more.

Note: A db-fiddle.com PRO subscription is required to use this plugin.

Screenshots

DB Fiddle in ChatGPT, screenshot 1

How to use

  1. 1Add it in ChatGPT

    Open DB Fiddle in ChatGPT's Plugin directory (button above), select + to add it and sign in if asked.

  2. 2Use it in a chat

    Type @ in the composer and pick DB Fiddle, or start your message with its name. ChatGPT may also suggest it when it fits what you ask.

Things to ask

  • “Run an example query using Postgres build JSON object”

Related