Glossary · Core Concepts
Natural Language Query
A database query expressed in everyday human language rather than a formal query language like SQL.
A natural language query (NLQ) allows users to interact with databases using conversational, everyday language instead of specialized syntax. For example, instead of writing "SELECT department, AVG(salary) FROM employees GROUP BY department HAVING AVG(salary) > 80000", a user can ask "What departments have an average salary above 80K?" The system interprets the intent, identifies relevant tables and columns, and constructs the appropriate query. NLQ systems must handle ambiguity, synonyms, implied context, and varying levels of specificity in user requests.
In practice
How AI for Database applies it
Fig — every answer ships with the tables, rows and SQL behind it.
See it on your own database
Connect read-only in minutes. Free models included.