Text-To-SQL

136 papers with code • 6 benchmarks • 14 datasets

Text-to-SQL is a task in natural language processing (NLP) where the goal is to automatically generate SQL queries from natural language text. The task involves converting the text input into a structured representation and then using this representation to generate a semantically correct SQL query that can be executed on a database.

( Image credit: SyntaxSQLNet )

Libraries

Use these libraries to find Text-To-SQL models and implementations
4 papers
1,561

Latest papers with no code

Archer: A Human-Labeled Text-to-SQL Dataset with Arithmetic, Commonsense and Hypothetical Reasoning

no code yet • 19 Feb 2024

We present Archer, a challenging bilingual text-to-SQL dataset specific to complex reasoning, including arithmetic, commonsense and hypothetical reasoning.

Knowledge-to-SQL: Enhancing SQL Generation with Data Expert LLM

no code yet • 18 Feb 2024

Generating accurate SQL for user queries (text-to-SQL) is a long-standing problem since the generation of the SQL requires comprehending the query and database and retrieving the accurate data from the database accordingly.

Multi-Hop Table Retrieval for Open-Domain Text-to-SQL

no code yet • 16 Feb 2024

To reduce the effect of the similar irrelevant entity, our method focuses on unretrieved entities at each hop and considers the low-ranked tables by beam search.

Improving Demonstration Diversity by Human-Free Fusing for Text-to-SQL

no code yet • 16 Feb 2024

Currently, the in-context learning method based on large language models (LLMs) has become the mainstream of text-to-SQL research.

Evaluating the Data Model Robustness of Text-to-SQL Systems Based on Real User Queries

no code yet • 13 Feb 2024

All of our data is based on real user questions that were asked live to the system.

Investigating the Impact of Data Contamination of Large Language Models in Text-to-SQL Translation

no code yet • 12 Feb 2024

Our results indicate a significant performance drop in GPT-3. 5 on the unfamiliar Termite dataset, even with ATD modifications, highlighting the effect of Data Contamination on LLMs in Text-to-SQL translation tasks.

DTS-SQL: Decomposed Text-to-SQL with Small Large Language Models

no code yet • 2 Feb 2024

Leading models for the text-to-SQL task heavily rely on proprietary Large Language Models (LLMs), posing concerns over data privacy.

FinSQL: Model-Agnostic LLMs-based Text-to-SQL Framework for Financial Analysis

no code yet • 19 Jan 2024

Text-to-SQL, which provides zero-code interface for operating relational databases, has gained much attention in financial analysis; because, financial professionals may not well-skilled in SQL programming.

Using LLM to select the right SQL Query from candidates

no code yet • 4 Jan 2024

We propose an automatic test case generation method that first generates a database and then uses LLMs to predict the ground truth, which is the expected execution results of the ground truth SQL query on this database.

Semantic Parsing for Complex Data Retrieval: Targeting Query Plans vs. SQL for No-Code Access to Relational Databases

no code yet • 22 Dec 2023

In this paper, we investigate the potential of an alternative query language with simpler syntax and modular specification of complex queries.