PostgreSQL · MySQL · SQL Server
Browse desktop documentation

AI SQL assistance for queries you review and run

Get AI SQL assistance for queries you review and run. Ask for an explanation, a fix or an optimization suggestion using your supported provider key. You choose the context and decide whether to execute the response.

Choose your trial
On this page

01 / FEATURES

Bring a specific question

Explain the result you need, the relevant business rule and the part of the query that is unclear. The released Assistant supports Anthropic, OpenAI, Google Gemini and xAI using your own API key. Provider usage is billed through your provider account.

02 / FEATURES

Keep control of the context.

Select the context, review the answer, and decide whether the SQL should run.

03 / FEATURES

Review the suggestion in the editor

Copy an answer, insert it at the cursor or replace the editor text. The Assistant never executes SQL. Check joins, predicates and writes before running a suggestion; a plausible answer can still misunderstand the schema or the intended result.

04 / FEATURES

Choose the context deliberately

A request can include your question, relevant SQL, schema information and an error. These can contain confidential identifiers or business logic. Decide whether the chosen provider is approved for that material before sending it, even when no result rows are included.

05 / FEATURES

Keep result sharing under control

Rows require an explicit Include results choice, with up to 50 rows per request. Configured masked columns are replaced with masked values. Production and High-protection result sharing needs the setting that permits it. Free text and unmarked fields still need review.

06 / FEATURES

Use AI only where it helps

Provider keys, chats and preferences use the protected workspace and are unavailable while locked. The usage report carries token-count metadata rather than query, result or chat content. SQL editing and other database tools remain available without AI; this release does not promise local-model execution or included provider credits.

Questions & answers

Will the Assistant run a write it suggests?

No. You must choose to place and execute the SQL. Review it under the same database and environment controls as any other statement.

Is AI context guaranteed to be free of secrets?

No. Known connection and secret values are scrubbed, and configured result columns can be masked, but you remain responsible for reviewing the context you disclose.

Workflow illustration

AI ASSISTANT · OPTIONAL · YOUR KEYContext you selectSelected SQLSchema detailsQuery resultsSQL PROPOSALSELECT customer_id, SUM(total)FROM ordersGROUP BY customer_id;Review and choose what to run.Results are shared only when opted in. The assistant does not execute SQL.