Papers › Datrics Text2SQL. A Framework for Natural Language to SQL Query Generation

Datrics Text2SQL. A Framework for Natural Language to SQL Query Generation

15 Mar 2025- 2025 3archive 2025-07-28

Tetiana Gladkykh, Kirykov Kyrylo

Datrics Text2SQL is a Text-to-SQL framework using Retrieval-Augmented Generation (RAG) to enhance accuracy and reliability. By integrating domain knowledge, database structure, and example-based learning, it addresses common SQL generation challenges such as incorrect table selection, faulty joins, and misinterpreted business rules. A knowledge base built from database documentation and successful queries is stored in a vector database, enabling retrieval of relevant context for precise SQL generation. The structured process of knowledge collection, context retrieval, and query generation ensures adaptability to various database schemas and query types.

PaperPDFCode

Code

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Natural Language QueriesRAGRetrievalRetrieval-augmented GenerationText to SQLText-To-SQL

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

BASE

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections