Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation
Open accessThe DOI matches its Crossref record; 62 of the 62 references it cites were found in a registry or an index; 29 of the 39 sources its claims cite were checked for support.
Abstract
Large language models (LLMs) have emerged as a new paradigm for Text-to-SQL task. However, the absence of a systematical benchmark inhibits the development of designing effective, efficient and economic LLM-based Text-to-SQL solutions. To address this challenge, in this paper, we first conduct a systematical and extensive comparison over existing prompt engineering methods, including question representation, example selection and example organization, and with these experimental results, we elaborate their pros and cons. Based on these findings, we propose a new integrated solution, named DAIL-SQL, which refreshes the Spider leaderboard with 86.6% execution accuracy and sets a new bar. To explore the potential of open-source LLM, we investigate them in various scenarios, and further enhance their performance with supervised fine-tuning. Our explorations highlight open-source LLMs' potential in Text-to-SQL, as well as the advantages and disadvantages of the supervised fine-tuning. Additionally, towards an efficient and economic LLM-based Text-to-SQL solution, we emphasize the token efficiency in prompt engineering and compare the prior studies under this metric. We hope that our work provides a deeper understanding of Text-to-SQL with LLMs, and inspires further investigations and broad applications.
Overview
CoChat Summary
TL;DR
This paper systematically benchmarks prompt engineering for LLM-based Text-to-SQL across question representation, example selection, and example organization, and proposes DAIL-SQL, which reaches 86.6% execution accuracy on the Spider leaderboard. It also explores open-source LLMs and supervised fine-tuning, finding SFT substantially improves them but can degrade their in-context learning ability.
Key findings
- DAIL-SQL refreshes the Spider leaderboard with 86.6% execution accuracy; without self-consistency it achieves 86.2%, and self-consistency adds 0.4% but is “very time consuming” and much more costly. The paper reports it surpasses the previous state of the art of 85.3% by 1.3% with much less token cost.
- For question representation, OpenAI Demonstration Prompt (OD_P) fits all four evaluated LLMs and achieves 75.5% execution accuracy with GPT-3.5-TURBO; GPT-4 unexpectedly prefers the simple Basic Prompt (BS_P). For open-source LLMs, Code Representation Prompt (CR_P) achieves the best zero-shot result, 68.5% execution accuracy on Spider-dev.
- For example selection, DAIL Selection generally outperforms other strategies; with GPT-4 in 5-shot it reaches 82.4% execution accuracy. For example organization, DAIL Organization with GPT-4 achieves 83.5% on Spider-dev and 76.0% on Spider-Realistic, while weaker LLMs often need Full-Information Organization.
- Supervised fine-tuning greatly improves open-source LLMs: LLaMA-13B with Alpaca SFT Prompt reaches 68.6% execution accuracy on Spider, and LLaMA-33B with CR_P reaches 69.1%. However, after fine-tuning, adding contextual examples causes sudden decreases in accuracy, suggesting the models overfit to zero-shot prompts.
Methods
- The paper conducts a systematic benchmark of prompt engineering for LLM-based Text-to-SQL: five question representations (BS_P, TR_P, OD_P, CR_P, AS_P), two prompt components (foreign key information and rule implication), four example selection strategies plus DAIL Selection and an Upper Limit reference, and three example organizations (Full-Information, SQL-Only, DAIL Organization) on four LLMs: GPT-4, GPT-3.5-TURBO, TEXT-DAVINCI-003, and Vicuna-33B.
- Evaluation uses Spider and Spider-Realistic, with exact-set-match accuracy (EM) and execution accuracy (EX) as metrics; Spider-dev is used because the test split is not released. Few-shot examples are drawn from the Spider training split.
- DAIL-SQL combines CR_P as question representation, DAIL Selection based on masked question similarity and query similarity with a threshold, and DAIL Organization, which keeps question-SQL pairs while removing token-cost database schema. The paper also fine-tunes open-source LLMs on the Spider training split (8659 samples) and evaluates zero-shot and few-shot performance.
Limitations
- Paper-stated: only two rule implications are tested; open-source LLMs are fine-tuned with only the Spider training set; the databases in Spider and Spider-Realistic may not be large enough; the current evaluation metric prioritizes correctness over efficiency, leaving generation of efficient SQL among correct alternatives unexplored; LLMs larger than 33B are left as future work due to limited resources.
- Text-evident: OpenAI LLMs are not fine-tuned because of unaffordable cost, so SFT conclusions are limited to open-source models. The paper also notes that fine-tuned LLMs fail to learn from contextual examples, and preserving in-context learning ability after fine-tuning remains an open question.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
18 Valid · 9 Not valid · 8 Not checked · 140 Own results and interpretations
The cited sources support only part of this claim — read each source’s verdict below.
In the paper
“Different from prior studies, the core problem in LLM-based Text-to-SQL solution is how to prompt LLM to generate correct SQL queries, namely prompt engineering.”
- Also stated in: § 2 PRELIMINARY · p. 2 · plain
“Therefore, to tackle Text-to-SQL task with LLMs, the core is to find the optimal prompt, also known as prompt engineering [26, 29].”
What the sources say
- Partly supportedcites [26] [26] Aiwei Liu, Xuming Hu, Lijie Wen, and Philip S. Yu. 2023. A Comprehensive Evaluation of ChatGPT's Zero-Shot Text-to-SQL Capability. CoRR abs/2303.13547 (2023). - sourceExperimental — accuracy not yet measured
The Introduction (page unavailable) says prompt design is required for models such as GPT-3 to generate target outputs, and the Method describes a prompt used to obtain SQL from ChatGPT. But the paper does not identify prompt engineering as the core problem in LLM-based Text-to-SQL; it adopted an existing prompt without further exploration. (LLM, conf=0.83)
- Partly supportedcites [29] [29] Linyong Nan, Yilun Zhao, Weijin Zou, Narutatsu Ri, Jaesung Tae, Ellen Zhang, Arman Cohan, and Dragomir Radev. 2023. Enhancing Few-shot Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategies. CoRR abs/2305.12586 (2023). - sourceExperimental — accuracy not yet measured
The Introduction says the paper investigates prompt configurations for LLM-based Text-to-SQL and that demonstration-prompt structure significantly affects performance. It also distinguishes prompting from fine-tuning, so its focus on prompt design does not establish that prompt engineering is the core problem for all LLM-based Text-to-SQL solutions. (LLM, conf=0.85)
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Also stated in: § 2 PRELIMINARY · p. 2 · plain
Every source the paper cites for this claim was checked and supports it.
In the paper
“Notably, equipped with GPT-4 [30], Pourreza et al. [37] achieved the first place in Spider leaderboard [3] with 85 . 3% execution accuracy.”
- Also stated in: § 1 INTRODUCTION · p. 2 · plain
“Before DAILSQL, the state-of-the-art performance in the Spider leaderboard is 85 . 3% [37].”
What the sources say
- Supportedcites [37] [37] Mohammadreza Pourreza and Davood Rafiei. 2023. DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction. CoRR abs/2304.11015 (2023). - source
Table 2 reports 85.3% execution accuracy for DIN-SQL with GPT-4 on the Spider holdout test set. Section 5.5.1 says this was the highest execution accuracy among officially published results at the time of writing, supporting the first-place claim in that context. (LLM, conf=0.94)
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Also stated in: § 1 INTRODUCTION · p. 2 · plain
The cited sources support only part of this claim — read each source’s verdict below.
In the paper
“However, LLMs can perform better for Text-to-SQL through in-context learning, in which only a few examples are provided in the input prompts.”
What the sources say
- Supportedcites [14] [14] Chunxi Guo, Zhiliang Tian, Jintao Tang, Pancheng Wang, Zhihua Wen, Kang Yang, and Ting Wang. 2023. A Case-Based Reasoning Framework for Adaptive Prompting in Cross-Domain Text-to-SQL. CoRR abs/2304.13301 (2023). - source
The “LLM-based SQL Generation” section says LLMs can achieve good Text-to-SQL performance with a few in-context examples and that retrieved demonstrations improve SQL generation. The Introduction also describes prompting the LLM with a few demonstration examples. (LLM, conf=0.92)
- Partly supportedcites [28] [28] Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2022. What Makes Good In-Context Examples for GPT-3?. In Proceedings of Deep Learning Inside Out: The 3rd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures . 100-114. - sourceExperimental — accuracy not yet measured
The Trial section reports that selected in-context examples improved GPT-3’s performance on several tasks, including table-to-text generation and question answering. The Experimental Setup section lists the tasks studied; Text-to-SQL is not among them, so the source does not establish the claim for that task. Page numbers are unavailable in our copy. (LLM, conf=0.85)
- Supportedcites [37] [37] Mohammadreza Pourreza and Davood Rafiei. 2023. DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction. CoRR abs/2304.11015 (2023). - source
The Abstract reports that the paper’s in-context-learning approach improved LLMs’ simple few-shot text-to-SQL performance. The Introduction describes few-shot prompting as using a few demonstrations without fine-tuning. The reported improvement is specifically for the paper’s decomposed approach, which is consistent with the claim that LLMs can perform better through in-context learning. (LLM, conf=0.91)
plainstates a possible cause- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Supported
Every source the paper cites for this claim was checked and supports it.
In the paper
“there is a scarcity of studies exploring the supervised fine-tuning of LLMs for Text-to-SQL [46], leaving this area as an open question.”
What the sources say
- Supportedcites [46] [46] Ruoxi Sun, Sercan Ö. Arik, Hootan Nakhost, Hanjun Dai, Rajarishi Sinha, Pengcheng Yin, and Tomas Pfister. 2023. SQL-PaLM: Improved Large Language Model Adaptation for Text-to-SQL. CoRR abs/2306.00739 (2023). - source
Section 3.2, “Text-to-SQL with LLMs” (page not provided), says tuning approaches for Text-to-SQL have been relatively under-explored compared with prompting approaches. This supports the cited claim that studies of LLM fine-tuning for Text-to-SQL are scarce. (LLM, conf=0.94)
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Supported
Every source the paper cites for this claim was checked and supports it.
In the paper
“Unexpectedly, GPT-4 exhibits a preference for the simple BS 𝑃 derived from Din-SQL [37], indicating that a powerful LLM can mitigate the complexities associated with representation design.”
What the sources say
- Supportedcites [37] [37] Mohammadreza Pourreza and Davood Rafiei. 2023. DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction. CoRR abs/2304.11015 (2023). - source
The citation identifies the source of the simple prompting approach, rather than attributing the citing paper’s GPT-4 preference finding to DIN-SQL. Section 4.3 describes simple few-shot prompting for easy queries, and the 5.6 ablation study includes a simple few-shot prompting variant. The source does not itself report the stated preference. (LLM, conf=0.86)
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Supported
90 more claims · 5 with their cited sources checked
Create a free account to see all 175 claims and to verify the 9 references still open.
- Probably not a substantial claim. 53
- It may state two separate claims as one. 38
- The quote only partly states this claim. 1
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
Each contradiction between two passages listed here was confirmed by an independent check.
Rated minor: it would not touch a result — a value no result rests on, a p-value that stays on the same side of the significance level, or a conflict that is clerical, resolved elsewhere in the paper, or outside its own findings.
In the paper
§ 3.3 DAIL-SQL · p. 5
“It then ranks the candidate examples based on the Euclidean distance between the embeddings of masked 𝑞 and 𝑞 𝑖 .”
§ A.1 Pseudocode · p. 15
“14 sort Q by cosine_simlarity( 𝑒 ( 𝑞 ′ ) , 𝑒 ( 𝑞 ′ 𝑖 ) )”
Rated minor: it would not touch a result — a value no result rests on, a p-value that stays on the same side of the significance level, or a conflict that is clerical, resolved elsewhere in the paper, or outside its own findings.
In the paper
§ 4.4 Supervised Fine-Tuning for Text-to-SQL · p. 10
“Full-Information Organization outperforms other strategies in different k-shot scenarios, which achieves 51 . 5% execution accuracy with Vicuna-33B.”
§ D.3 Experiments in Few-shot Scenario for Different Model Sizes and Training Corpus of Open-source LLMs · p. 19
“| Full-Information Organization | Vicuna-33B | 6.9 | 43.7 | 22.1 | 49.2 | 27.4 | 49.9 | 28.0 | 51.1 |”
Rated minor: it would not touch a result — a value no result rests on, a p-value that stays on the same side of the significance level, or a conflict that is clerical, resolved elsewhere in the paper, or outside its own findings.
In the paper
§ 4.4 Supervised Fine-Tuning for Text-to-SQL · p. 11
“In this experiment, the best performance on Spider is achieved by the combination of LLaMA13B and Alpaca SFT Prompt, whose exact-set-match and execution accuracy are 65 . 1% and 68 . 6%.”
§ D.5 Detailed Performance of Fine-tuned Open-source LLM on Spider and Spider-Realistic · p. 20
“| LLaMA-2-CHAT-7B | EX | 62.9 | 62.9 | 64.2 | 65.7 | 69.6 | 65.1 | 51.4 | 44.5 | 47.4 | 49.6 | 54.9 | 49.6 |”
Citations
Cites
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
LLaMA: Open and Efficient Foundation Language Models
Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Rozière, B., Goyal, N., Hambro, E., Azhar, F., et al. (2023) · arXiv · doi:10.48550/arxiv.2302.13971 · Cited by 4,602
HuggingFace's Transformers: State-of-the-art Natural Language Processing
Wolf, T., Debut, L., Sanh, V., Chaumond, J., Delangue, C., Moi, A., Cistac, P., Rault, T., Louf, R., Funtowicz, M., et al. (2019) · arXiv · doi:10.48550/arxiv.1910.03771 · Cited by 3,347
Training Language Models to Follow Instructions with Human Feedback
Ouyang, L., Wu, J., Jiang, X., Almeida, D., Wainwright, C., Mishkin, P., Zhang, C., Agarwal, S., Slama, K., Ray, A., et al. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-2011 · Cited by 3,117
A Survey of Large Language Models
Zhao, W. X., Zhou, K., Li, J., Tang, T., Wang, X., Hou, Y., Min, Y., Zhang, B., Zhang, J., Dong, Z., et al. (2023) · arXiv · doi:10.48550/arxiv.2303.18223 · Cited by 2,090
Self-citationLarge language models are zero-shot reasoners
Kojima, T., Gu, S. (., Reid, M., Matsuo, Y., & Iwasawa, Y. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1613 · Cited by 2,013
Large Language Models are Zero-Shot Reasoners
Kojima, T., Gu, S. S., Reid, M., Matsuo, Y., & Iwasawa, Y. (2022) · arXiv · doi:10.48550/arxiv.2205.11916 · Cited by 2,013
Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena
Zheng, L., Chiang, W.-L., Sheng, Y., Zhuang, S., Wu, Z., Zhuang, Y., Lin, Z., Li, Z., Li, D., Xing, E. P., et al. (2023) · arXiv · doi:10.48550/arxiv.2306.05685 · Cited by 1,888
Research works printed but not linked: 4
- [16] Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2022. LoRA: Low-Rank Adaptation of Large Language Models. In The 10th International Conference on Learning Representations . -
- [22] Haoyang Li, Jing Zhang, Cuiping Li, and Hong Chen. 2023. RESDSQL: Decoupling Schema Linking and Skeleton Parsing for Text-to-SQL. In 37th AAAI Conference on Artificial Intelligence . 13067-13075. -
- [23] Jinyang Li, Binyuan Hui, Reynold Cheng, Bowen Qin, Chenhao Ma, Nan Huo, Fei Huang, Wenyu Du, Luo Si, and Yongbin Li. 2023. Graphix-T5: Mixing Pre-trained Transformers with Graph-Aware Layers for Text-to-SQL Parsing. In 37th AAAI Conference on Artificial Intelligence . 13076-13084. -
- [49] Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, Artem Korenev, Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael, Smith Ranjan, Subramanian Xiaoqing, Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, and Thomas Scialom. 2023. LLAMA2: Open Foundation and Fine-Tuned Chat Models. CoRR (2023). -
Cited by
Items 201–291 of 291
A Lightweight Dual Path Framework for Complex Text to SQL Generation
Li, C., Liu, Y., Guo, H., & Li, Q. (2026) · International Seminar on Artificial Intelligence, Networking and Information Technology (AINIT) · doi:10.1109/ainit70033.2026.11557644
REDPARROT: Accelerating NL-to-DSL for Business Analytics via Query Semantic Caching
Wang, T., Xu, Y., Zhang, J., Cui, L., Wei, W., 陈苏州, Li, H., Chen, K., & Shou, L. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00289
Deng, J., Zhang, C. L., Zhang, H., Li, L., Sun, L., Ma, X., & Guo, Z. (2026) · ISPRS International Journal of Geo-Information · doi:10.3390/ijgi15100436
Xiao, Y. (2026) · International Conference on Big Data & Artificial Intelligence & Software Engineering (ICBASE) · doi:10.1109/icbase70763.2026.11619433
Sovilj, S., Marković, J., & Dugonjić, I. (2026) · Journal of UUNT Informatics and Computer Sciences · doi:10.62907/juuntics260101001s
SpatialSQL: A Multi-Agent System for Interactive and Observable Spatial Text-to-SQL
Song, Y., Sun, Y., Wang, X., Qian, T., Xu, T., Xu, J., Wei, S., & Tong, Y. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3827998.3828055
Guo, X., Li, S., Kulawiak, C., Juarez, F. G., & Gong, J. (2026) · IEEE/ACM Conference on Connected Health: Applications, Systems and Engineering Technologies · doi:10.1109/chase69719.2026.00054
MANA (Modular Agentic NoSQL Architecture): Robust NL-to-NoSQL Querying at Enterprise Scale
Tallam, S., Mummidisetti, R. G., Rasamsetty, P., & Kumar, D. (2026) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac69091.2026.00018
Retrieval-augmented Chinese text-to-SQL generation for conversational bibliographic search
Wang, Z., Zhu, M. X., Guo, L., & Kong, S. (2025) · PLoS ONE · doi:10.1371/journal.pone.0334965 · Cited by 1
Does Context Matter? Evaluating Contextual Enrichment in Text-to-SQL for Open Government Data
de Carvalho, M. L. A., Santos, M. E. N., Coelho, M. A. M., Junior, R. S. D. S., de Sá, G. P., de Sousa, S. F. V., & Barcellos, R. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-39904-5_19
Sun, X., Zhang, Z., & Tao, F. (2026) · AIP Advances · doi:10.1063/5.0345404
Self-citationCUBES: A Parallel Synthesizer for SQL Using Examples
Brancas, R., Terra-Neves, M., Ventura, M., Manquinho, V. M., & Martins, R. (2025) · Formal Aspects of Computing · doi:10.1145/3768578 · Cited by 7
An Example-Enhanced and Iteratively Refined Text-to-SQL Framework with Dual-Path Revision
Chen, Y., Huang, Z., Lu, Z., Dai, Y., Ke, Y., & Zhou, L. (2025) · IEEE International Conference on Computer and Communications (ICCC) · doi:10.1109/iccc68654.2025.11438029
Bhaumik, U., & Berlin, M. A. (2026) · IEEE Access · doi:10.1109/access.2026.3726681
Meta-Aware Learning in text-to-SQL Large Language Model
Zhang, W. (2025) · Conference proceedings/Conference proceedings - IEEE International Conference on Systems, Man, and Cybernetics · doi:10.1109/smc58881.2025.11343583
Agent–Native IoT Data Analytics Platforms: a Reference Architecture
Zeng, J. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-36493-7_4
Cost Trade-offs of Reasoning and Non-Reasoning Large Language Models in Text-to-SQL
Deochake, S., & Mukhopadhyay, D. (2026) · IEEE International Conference on Data Engineering Workshops (ICDEW) · doi:10.1109/icdew71238.2026.00036
ITDS-SQL: Enhancing Text-to-SQL Parsing by In-Context Learning with Inference Time Data Synthesis
Su, J., Duan, S., Zhang, Y. J., Liu, C., & Han, P. (2026) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp55912.2026.11462681 · Cited by 1
Tayde, S. G., Mishra, A., & Agarwal, A. (2025) · International Conference on Sustainable Communication Networks and Application (ICSCNA) · doi:10.1109/icscn67106.2025.11308271
AMPC-SQL: A Large Model Enhancement Scheme for Text-to-SQL Capability Based on Prompt Learning
Zheng, Z., Jing, H., & Hamdulla, A. (2025) · International Conference on Artificial Intelligence, Digital Media Technology and Social Computing (ICAIDS) · doi:10.1109/icaids67687.2025.00029
SecureMCP: Policy-Enforced Defense Against Prompt Injection in LLM-Generated SQL for AIoT Databases
Kim, W., Yoo, H.-K., & Moon, N. (2026) · Applied Sciences · doi:10.3390/app16167974
Text-to-SQL Correction Based on Correlation Degree and Multi-round Error Evaluation
Wang, B., Zhang, Y., Zhang, X., Zhao, C., Zhang, C., & Cai, C. (2025) · Conference proceedings/Conference proceedings - IEEE International Conference on Systems, Man, and Cybernetics · doi:10.1109/smc58881.2025.11342895
Gouda, A. H., Eltannikhy, Z., & Zaky, A. B. (2025) · International Japan-Africa Conference on Electronics, Communications, and Computations (JAC-ECC) · doi:10.1109/jac-ecc67970.2025.11417541
Feng, J., Xu, Y., & Zhang, Q. (2025) · International Conference on Big Data, Artificial Intelligence and Internet of Things Engineering (ICBAIE) · doi:10.1109/icbaie66852.2025.11326605
Henin, A., & Ekler, P. (2025) · IEEE International Conference on Cognitive Infocommunications · doi:10.1109/coginfocom66819.2025.11200921
Liu, D., Wang, Y., Tian, Y., Zeng, Z., Liu, S., Zheng, W., & Xiao, Y. (2025) · IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata66926.2025.11400955
Reflect-SQL: A Self-reflection Based Framework for Text-to-SQL
Jain, A., & Shrivastava, M. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-2014-4_7
Enhancing Chain-of-Thought Reasoning for Text-to-SQL with Effective Retrieval-Augmented Generation
Zhu, X., Zhang, Y., Li, C., & Xing, C. (2026) · Lecture notes in computer science · doi:10.1007/978-981-95-3827-0_33
LLM-based Text-to-SQL: A Case Study of Geospatial Information Retrieval
Ogunsusi, T. O., Mangue, J. A. N. A., Bai, W.-S., Ye, X., Qian, L.-J., & Dong, X.-S. (2026) · International Computer Science Conference · doi:10.1109/icsc67292.2026.00075
Wang, Q., Li, C., Li, X., Wang, C., Ma, J., Zhang, Y., Yang, W., & Zhao, Z. (2026) · International Conference on Computer Supported Cooperative Work in Design (CSCWD) · doi:10.1109/cscwd68734.2026.11582648
Divya, B., Kiran, G. U., Srilakshmi, V., Mounika, M., Ch, A., & Ch, S. (2026) · International Conference on Electronics and Sustainable Communication Systems (ICESC) · doi:10.1109/icesc70182.2026.11687264
Natural Language to Logica: Towards Interactive and Explainable Data Analytics
Garg, O., Mirjafari, S., Xia, Y., Bowers, S., Ludäscher, B., & Skvortsov, E. (2025) · Lecture notes in computer science · doi:10.1007/978-3-032-04848-6_11
Foundational Text-to-SQL Pipeline: Modular Design and Inference Benchmarking
Julianto, E., Alhusari, D., Ardiyansa, S. A., Tundjungsari, V., & Saputra, T. (2026) · International Conference on Smart Computing, IoT and Machine Learning (SIML) · doi:10.1109/siml69834.2026.11621422
Silva, L. O., Silva, P. H. C., & Silva, F. A. (2025) · Simpósio Brasileiro de Bancos de Dados (SBBD) · doi:10.5753/sbbd.2025.247042 · Cited by 2
Composite event recognition with arbitrary specifications
Mantenoglou, P., & Artikis, A. (2025) · Information and Computation · doi:10.1016/j.ic.2025.105373
TACO: Token-Aware Context Optimization for Structured OpenStreetMap Query Generation
Wan, Z., Hu, W., Kim, H., Zhang, C., Li, S., Song, Y., Deng, M., Wei, X.-Y., & Wong, R. C.-W. (2026) · Proceedings of the ACM on Management of Data · doi:10.1145/3837126
GTR-SQL: Graph Pruning, Tournament Selection, and Taxonomy Repair for Text-to-SQL
Cheng, J., Huang, S. L., & Zhao, K. (2025) · International Conference on Communication Technology and Information Technology (ICCTIT) · doi:10.1109/icctit68197.2025.11406408
Yi, J., & Chen, G. (2025) · China Automation Congress (CAC) · doi:10.1109/cac67268.2025.11487908
Towards Small Language Models for Text-to-SQL
Silva, P. H. C., Silva, L. O., & Silva, F. A. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-15993-9_35 · Cited by 3
LLMs Can Code, But Can They Do Designƒ
Guruli, A., Gadelia, M., & Tichy, W. F. (2026) · International Informatics and Software Engineering Conference (IISEC) · doi:10.1109/iisec69317.2026.11418469
ZHANG, H., Wang, H., Tan, H., Zeng, L., Li, J., & Gu, Z. (2026) · CAAI Transactions on Intelligence Technology · doi:10.1049/cit2.70138 · Cited by 1
Self-citationPervasive Annotation Errors Break Text-to-SQL Benchmarks and Leaderboards
Jin, T., Choi, Y. M., Zhu, Y., & Kang, D. D. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3796195.3796206 · Cited by 28
Bilgin, M., & Bozdemir, M. (2026) · Gazi Üniversitesi Mühendislik-Mimarlık Fakültesi Dergisi · doi:10.17341/gazimmfd.1796962
Error-Driven Iterative Prompt Engineering for Text-to-SQL: From Simple Prompting to Hybrid Pipelines
Khonthapagdee, S., & Sirithai, P. (2026) · International Joint Conference on Computer Science and Software Engineering · doi:10.1109/jcsse68839.2026.11596997
SQLWizard: A Tool for Robust Text-to-SQL via Intelligent Selection and Fine-Grained Refinement
Liang, K., Xiang, C., Ye, Z., Liu, Z., Wang, H., Guo, H., & Chen, Y. (2025) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec66846.2025.00123
Self-citationHow Far Can They Map? Probing LLM Capabilities for Cross-Schema SQL Generation
Daviran, M., & Rafiei, D. (2026) · IEEE International Conference on Data Engineering Workshops (ICDEW) · doi:10.1109/icdew71238.2026.00039
Distilled documentation for dialect-specific SQL generation
Döhmen, T., Krishnan, A., Ulmer, H., Boncz, P. A., & Schelter, S. (2026) · The VLDB Journal · doi:10.1007/s00778-026-00993-5
A System for Fast, Accurate, and Intuitive Querying of Large-Scale BGP Datasets
Holterbach, T., Alfroy, T., Mohsenpour, A., Krenc, T., claffy, K., & Pelsser, C. (2026) · ACM Internet Measurement Conference (IMC) · doi:10.1145/3777912.3839829
Use-Case-Guided Text-to-SQL for Network Measurement via Natural Language Querying
Akbarzadeh, H., Shirmohammadi, S., & Barber, C. (2026) · IEEE International Symposium on Measurement in Networking and Communications (MNC) · doi:10.1109/mnc69143.2026.11680822
Yang, G., Wei, V. J., Ling, Y., & Zhang, T. (2026) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2026.3716724
Fan, J.-J., Rao, J.-Y., Wei, L.-D., Li, G.-J., Yuan, J.-X., & Qi, Y. (2026) · Expert systems with applications · doi:10.1016/j.eswa.2026.134549
Bridge-SQL: Bridging Single- and Multi-Turn Text-to-SQL via Preference-Aligned Question Rewriting
Zhu, X., Tang, X., Wu, S., Tang, Y., Wang, H., Yao, C., Xia, R., & Chen, G. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-0372-7_8 · Cited by 1
Self-citationCCS-SQL: Enhancing Text-to-SQL Framework for Computational Queries via Large Language Models
Ma, Q., Jiang, S., Wei, Z., & Zhao, J. (2025) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn64981.2025.11227969 · Cited by 1
Zhang, T., & Liu, Y. (2025) · International Conference on Communications, Information System and Computer Engineering (CISCE) · doi:10.1109/cisce65916.2025.11065889 · Cited by 1
Geo-enrichment in a Data Lakehouse: Exploring Challenges and Opportunities
Siddabattula, V. S., Hachem, F., Mesiti, M., Leo, M., Rosa, G. D. L., & Damiani, M. L. (2025) · ACM SIGSPATIAL International Workshop on Spatial Big Data and AI for Industrial Applications · doi:10.1145/3764919.3770886
Generalized Entity Matching with Adaptivity via Large Language Models
Chen, X., Shi, Y., & Xiao, X. (2026) · Proceedings of the ACM on Management of Data · doi:10.1145/3802066 · Cited by 1
A Study of the Performance of Large Language Models in Text-to-SQL Tasks
Kokolishvili, A. (2026) · International Informatics and Software Engineering Conference (IISEC) · doi:10.1109/iisec69317.2026.11418515
Bridging NL2SQL for CAN Signal Analytics at NIO: From Externalized Schemas to CTE Pipelines
Zhou, W., Zhao, H., Zhong, R., Yu, S., Zhou, X., Yang, X., Jia, X., Li, G., Liu, S., Zhang, K., et al. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3827998.3828036 · Cited by 1
TC-SQL: Table Completion-Based Optimization of Schema Linking for Text-to-SQL
Pan, Z., Li, Y., & Zhao, Y. (2025) · International Conference on Cyberworlds (CW) · doi:10.1109/cw68232.2025.00067
Self-citationMPCR-SQL: Enhancing SQL Generation by Multi-path SQL Generation and Collective SQL Refinement
Hou, M., Huang, Y., & Wang, S. (2025) · Communications in computer and information science · doi:10.1007/978-981-95-4091-4_15
He, B., Du, Y., Meng, H., Tang, S., Zhang, T., & Song, L. (2026) · Symmetry · doi:10.3390/sym18050792 · Cited by 1
Text-to-SQL Evaluation Toolkit
Hassanzadeh, O., Perlitz, Y., Pham, N., Kaple, T., Źróbek, K., Vu, L., Glass, M., Subramanian, D., Pourreza, M., & Rafiei, D. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3827998.3828071 · Cited by 2
Large Language Model for the Analysis of Enterprise Architecture Model
Hillmann, P., Heiland, E., Torres, D. V., & Karcher, A. (2025) · International Conference on Advanced Enterprise Information System (AEIS) · doi:10.1109/aeis68693.2025.00009
Zhang, Y., Fan, M., Fan, J., Yi, M., Luo, Y., Li, G., Wu, B., & Zhou, W. (2026) · Proceedings of the ACM on Management of Data · doi:10.1145/3802105 · Cited by 44
Son, B., Jung, M., & Lee, S. (2026) · The Journal of Korean Institute of Information Technology · doi:10.14801/jkiit.2026.24.7.81
FMD-SQL: NL2SQL-as-a-Service for Financial Data Access
Du, X., Deng, R., Wang, C., Hu, S., Zhou, F., & Duan, Q. (2026) · IEEE International Conference on Web Services (ICWS) · doi:10.1109/icws72778.2026.00081
LEAF-SQL: Level-Wise Exploration with Adaptive Fine-Graining for Text-to-SQL Skeleton Prediction
Tan, Z., Liu, X., Shu, Q., Wan, Q., Liu, D., & Wan, C. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00181 · Cited by 2
EPSP-SQL: Enhancing Text-To-SQL by Explicit Prompt-Based Self-Play Fine-Tuning
Liu, Y., Yang, Y., Zhu, T., Liang, Y., Chen, Y., & Yan, L. (2025) · IEEE International Conference on Artificial Intelligence, Computer Science and Information Processing (AICSIP) · doi:10.1109/aicsip65423.2025.11427190
Zong, Y., Jia, R., Li, K., Xue, D., Zhang, L., & He, D. (2026) · Neural Networks · doi:10.1016/j.neunet.2026.109055 · Cited by 5
MoAF-SQL: A Feedback-Driven Mixture-of-Agents Approach for Text-to-SQL
Kanburoğlu, A. B., & Faik Boray, T. E. K. (2026) · Advances in Science, Technology & Innovation/Advances in science, technology & innovation · doi:10.1007/978-3-032-24784-1_12
Hoang, T. D., Huynh, T. T., Weidlich, M., Nguyên, T. T., Chen, T., Yin, H., & Nguyen, Q. V. H. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00183 · Cited by 5
From Prompt to Process: Event Log Extraction From Relational Databases Using Large Language Models
Dani, V. S., Dees, M., Leopold, H., Busch, K., Beerepoot, I., van der Werf, J. M. E. M., & Reijers, H. A. (2026) · International Journal of Cooperative Information Systems · doi:10.1142/s0218843026500012
SoiQL: Robust Enterprise Text-to-SQL via Topological Grounding and Risk-Aware Decision Gating
Behzadi, G., Alsop, L., Dowlut, A., Mroninski, P., & Harris, G. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-2497-5_5
Daroch, I., Cabrera, M. R., Andrade, R. M., Fernández, A., & Vásconez, J. P. (2026) · Big Data and Cognitive Computing · doi:10.3390/bdcc10080258
PromQLAgent: A Text-to-PromQL Framework Based on Dual Knowledge Base Retrieval and Adaptive Repair
Deng, C., Guo, Y., Yan, L., Ma, J., Gao, D., & Wang, Y. (2026) · International Conference on Artificial Intelligence and Big Data (ICAIBD) · doi:10.1109/icaibd69640.2026.11637335
Self-citationCracking Query Bottlenecks: Towards Efficiency-Oriented Text-to-SQL Generation
Lin, L. G., Shen, Y., Bao, L., Wu, R., & Liu, Y. (2026) · Proceedings of the ACM on software engineering. · doi:10.1145/3832269
de Albuquerque, R. A. N. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.7158737
PLForge: Enhancing Language Models for Natural Language to Procedural Extensions of SQL
Zhang, H., Wang, C., Li, H., Wu, C., Wang, S., Liu, Y., Shi, G., & Liu, Z. (2025) · Proceedings of the ACM on Management of Data · doi:10.1145/3769813 · Cited by 4
A Survey of Large Language Model-Based Text-to-SQL Methods
Yan, L., Gong, H., Han, P., & Xu, Y. D. (2025) · Asian Conference on Artificial Intelligence Technology (ACAIT) · doi:10.1109/acait67930.2025.11522096
Research and Practice on ChatBI of SAP ERP Management Data of PowerEnterprise Based on OPEN CLAW
Zhang, J., Xiong, L., Gao, Z., Li, Y., Shao, Z., Chen, M., Wang, W., & Zhang, H. (2026) · IEEE International Conference on Power Science and Technology (ICPST) · doi:10.1109/icpst69917.2026.11637422
Self-citationLanguage Model Analysis for Text-to-SQL: A Case Study in Public Transparency
de Santana, A. S., da Costa, L. J. F., Baptista, C. D. S., & Alves, A. L. F. (2026) · International Conference on eDemocracy & eGovernment · doi:10.1109/icedeg70169.2026.11695387
Jariwala, S. (2026) · ACM Conference on AI and Agentic Systems (CAIS) · doi:10.1145/3786335.3813217
I-Rex: An Interactive Debugger for SQL
Hu, Y., Chen, Z., Leong, Z., Sokhi, S., Zheng, Z., Chao, A., Stephens-Martinez, K., Roy, S., & Yang, J. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3836663.3836670 · Cited by 1
Zheng, Z., Qiu, T., Zhao, Y., & Chen, S. (2026) · IEEE Pacific Visualization Conference (PacificVis) · doi:10.1109/pacificvis68791.2026.00042 · Cited by 1
Topological Relation Aware Transformer
Ndongala, N. M. (2024) · Texila international journal of academic research · doi:10.21522/tijar.2014.11.01.art015 · Cited by 1
SQLens: Continuous Code-to-SQL Visibility in the Wild
Yang, X., Sha, M., Li, Y., Zhong, S., Wang, S., Zhou, F., & Li, F. (2026) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3788853.3803091 · Cited by 1
Self-citationViewLearner: GNN-Driven Pre-Built Views for Multi-Table NL2SQL
Qi, G., Su, C., Chang, W., Wang, Y., & Yu, J. (2026) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp55912.2026.11460810
HIT-SCIR at CCKS-IJCKG2024: Enhancing Text-to-SQL with Multi-step Pipeline
Wang, D., Zhang, X., Xu, K., & Che, W. (2025) · Communications in computer and information science · doi:10.1007/978-981-96-1809-5_41
SCE-SQL: Self-Correction Enhancement in Text-to-SQL Tasks
Wang, Q., Wu, T. T., & Lin, S. (2025) · IEEE International Conference on Electrical, Automation and Computer Engineering (ICEACE) · doi:10.1109/iceace67491.2025.11439575
Multi-Layer LLMs for Secure Business Intelligence: A Case Study in Electricity Trading Analysis
Ren, Z., Jones, G., & Chen, L. (2026) · International Conference on Artificial Intelligence, Computer, Data Sciences and Applications (ACDSA) · doi:10.1109/acdsa67686.2026.11467825
Metadata
- Authors
- Gao, D., Wang, H., Li, Y., Sun, X., Qian, Y., Ding, B., & Zhou, J.
- Affiliations
- Alibaba Group (China) (CN)
- Venue
- Proceedings of the VLDB Endowment
- Published
- 2024-01
- Volume
- 17
- Issue
- 5
- Pages
- 1132-1145
- ISSN
- 2150-8097 (ISSN-L)
- OpenAlex
- W4396571402
- Cited by
- 342
- References
- 20
- Citations by year
- 2026: 160 · 2025: 143 · 2024: 38
- FWCI
- 50.11
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- Proceedings of the VLDB Endowment (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Information Systems › Advanced Database Systems and Queries
- Keywords
- text-to-SQL, large language models, prompt engineering, Spider benchmark, example selection, question representation, open-source LLMs, supervised fine-tuning, token efficiency, benchmark evaluation
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
The claim verdicts this report counts are experimental: their accuracy is not yet measured.
A language model drew the claims from the paper on 2026-10-30, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).
A second model labelled each claim on 2026-10-30 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).
Cited sources are checked with a language model’s help (gpt-6-sol).
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.