Supabind

AI SQL Assistant

Query, filter, and aggregate your data using natural language prompts without writing a single line of code.

How the Assistant Works

The AI SQL Assistant uses advanced Large Language Models to translate your English instructions into valid SQL queries. It automatically analyzes the schema of your connected data sources—identifying column names, data types, and relationships—to generate precise data transformations.

Writing Effective Prompts

The more specific your prompt, the better the result. You can ask for simple filters, complex math, or group-by aggregations.

Good Examples

  • • "Show me the top 10 products by sales"
  • • "Filter for rows where price is over 500"
  • • "Calculate average revenue per month"

Too Vague

  • • "Fix this data"
  • • "Make a chart"
  • • "Clean up the names"

Creation Modes

As seen in the workspace toolbar, you have two options for how the AI applies the query results:

Create New

Generates a brand-new table in your "Tables" list. Use this if you want to keep your original data source visible while exploring a new view.

Modify Current

Applies the transformation directly to the table you currently have open. Ideal for incremental filtering or cleanup steps.

Selecting AI Models

Depending on your project needs, you can switch between different AI processing engines in the top-right of the Assistant panel.

Active Engine: Groq / OpenAI
  • Flash Models: Best for simple filters and rapid iteration.

  • Reasoning Models (Pro): Best for complex multi-step logic and window functions.

Multi-Table Context

The AI Assistant is aware of all tables within your project. You can ask cross-table questions like:
"Join Table A with Table B on the 'SKU' column and show the variance in price."

Pro Tip: Look at the "Available Tables" indicator at the bottom of the prompt box to confirm which datasets the AI can currently access for your query.

Was this AI guide helpful?

Can't get the right query?

Our prompt engineering team can help you write custom instructions for complex business logic.

Contact Analytics Support