---
title: "Text-to-SQL (chat with your data)"
description: "Text-to-SQL lets a manager ask a business question in plain Hungarian or English ('which service made the most profit in the last six months, and which customer"
canonical: https://aifelhasznalas.hu/en/glossary/text-to-sql
language: en
publisher: AI Felhasználás
updated: 2026-09-19
---

# What is Text-to-SQL (chat with your data)?

Text-to-SQL lets a manager ask a business question in plain Hungarian or English ('which service made the most profit in the last six months, and which customers bought three times but have been inactive for 60 days?') and get the exact numbers, a chart and a three-sentence explanation. The AI writes and runs the database query in the background; nobody needs Excel formulas or a developer.

## Safety rails

Queries run read-only against a copy or a warehouse (Supabase, PostgreSQL, DuckDB), never against the live invoicing database, and the generated SQL is logged so any answer can be audited.

## FAQ

**Can it work from Google Sheets?**

Yes; sheets are synced into a small warehouse first so questions run fast and consistently.

Related: https://aifelhasznalas.hu/en/glossary/llm, https://aifelhasznalas.hu/en/glossary/rag
