about
A Survey on Employing Large Language Models for Text-to-SQL Tasks (arxiv.org)
2 points by PaulHoule on Nov 27, 2024 | hide | past | pdf | discuss on HN

In plain words: This survey reviews how large language models turn plain-English questions into database queries, grouping the approaches into those that craft better instructions and those that retrain the model. It compares their performance on standard tests and lays out the field's remaining open problems.

Abstract

With the development of the Large Language Models (LLMs), a large range of LLM-based Text-to-SQL(Text2SQL) methods have emerged. This survey provides a comprehensive review of LLM-based Text2SQL studies. We first enumerate classic benchmarks and evaluation metrics. For the two mainstream methods, prompt engineering and finetuning, we introduce a comprehensive taxonomy and offer practical insights into each subcategory. We present an overall analysis of the above methods and various models evaluated on well-known datasets and extract some characteristics. Finally, we discuss the challenges and future directions in this field.

Liang Shi, Zhengju Tang, Nan Zhang, Xiaotong Zhang, Zhi Yang
arXiv:2407.15186 · cs.CL · submitted Jul 21, 2024 · updated Jun 3, 2025
abstract · pdf · html · Accepted by ACM Computing Surveys (CSUR)

add comment on HN