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 101–200 of 291
Optimizing Text-to-SQL Transformations: The Potential of Skeleton Decoupling in SKT-SQLPreprint
Yi, J., & Chen, G. (2024) · Research Square · doi:10.21203/rs.3.rs-5318111/v1 · Cited by 1
Guardians of Privacy: Leveraging LLMs in Assistive Robotic Systems for Healthcare
Zoughalian, K., Aitsam, M., Marchang, J., & Nuovo, A. G. D. (2025) · IEEE Conference on Communications and Network Security · doi:10.1109/cns66487.2025.11195035 · Cited by 1
Enhanced Text-to-SQL using cooperative reinforcement learning for small language models
Lei, J., He, R., & Wang, Y. (2026) · Neurocomputing · doi:10.1016/j.neucom.2026.132865 · Cited by 1
Exploring Temporal Text-to-SQL Challenges in Brazilian Portuguese: Lessons from Educational Data
Fróes, K. D. C., & Braghetto, K. R. (2025) · Simpósio Brasileiro de Bancos de Dados (SBBD) · doi:10.5753/sbbd.2025.247836 · Cited by 7
Rethinking data in NL2SQL: a survey of what we have and what we expect
Fan, Y., Weng, Q., Chen, Y., & Wang, X. S. (2025) · Vicinagearth. · doi:10.1007/s44336-025-00026-9 · Cited by 6
SQL-to-Text Generation with Weighted-AST Few-Shot Prompting
Chakrabarti, S., Ma, C., Khan, A., & Link, S. (2026) · Lecture notes in computer science · doi:10.1007/978-981-95-6196-4_26 · Cited by 2
Improving Relational Deep Learning via Language Model-based Graph Augmentation
Kim, K., Son, H., & Sohn, M. M. (2026) · IEEE International Conference on Big Data and Smart Computing (BigComp) · doi:10.1109/bigcomp68355.2026.00043 · Cited by 1
Xiong, X., Wong, R. C.-W., & Song, Y. (2025) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3746252.3761375 · Cited by 3
MR-SQL: Multi-level Retrieval Enhances Inference for LLM in Text-to-SQL
Wu, Z., Li, Z., Li, M., Zhang, J., He, Z., Yang, J., Zhao, Y., Fang, R., Li, Y., Li, Z., et al. (2026) · Lecture notes in computer science · doi:10.1007/978-981-95-3830-0_27 · Cited by 6
Self-citationZhang, C. L., Deng, J., Zhang, H., Li, L., Sun, L., & Ma, X. (2026) · ISPRS International Journal of Geo-Information · doi:10.3390/ijgi15070310 · Cited by 2
Prompt Engineering Techniques for Context-dependent Text-to-SQL in Arabic
Almohaimeed, S., Alsofyani, M., Almohaimeed, S., Ghanim, M. A., & Wang, L. (2025) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn64981.2025.11228397 · Cited by 3
Lightweight Table Retrieval Via Vector Matching for Table Question Answering
WenJin, N. (2025) · International Computer Conference on Wavelet Active Media Technology and Information Processing (ICCWAMTIP) · doi:10.1109/iccwamtip68645.2025.11352653 · Cited by 1
Text to SQL AI Agentic Workflow Implementations: A Systematic Literature Review
Silva, E. D., & Asanka, D. (2025) · International Conference on Advances in Technology and Computing (ICATC) · doi:10.1109/icatc68823.2025.11407744 · Cited by 1
Accurate Table Question Answering with Accessible LLMs
Jiang, Y., Wei, F., Bao, E., Li, Y., Ding, B., Yang, Y., & Xiao, X. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00020 · Cited by 3
Self-citationEnd-to-End Text-to-SQL with Dataset Selection: Leveraging LLMs for Adaptive Query Generation
Tripathi, A., Patle, V., Jain, A. K., Pundir, A., Menon, S., Singh, A. K., & Herremans, D. (2025) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn64981.2025.11227747 · Cited by 4
OpenSQL: Data-Efficient Text-to-SQL for Open-Source LLMs via Synthesized Intermediate Supervision
Hu, R., Luo, Y., Li, G., Wu, S., & Luo, Y. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3801059.3801074 · Cited by 5
QueryVerse: Transform Prompts Into Data
Praneeth, S., Kumar, R. P., & Pallavi, G. (2025) · International Conference on Computing Technologies (ICOCT) · doi:10.1109/icoct64433.2025.11118725 · Cited by 1
BoA-SQL: Executable Blueprint-of-Action for Text-to-SQL with reinforcement learning
Wang, Y., Xie, Z., Zhang, L., Gu, L., & Li, Q. (2025) · Engineering Applications of Artificial Intelligence · doi:10.1016/j.engappai.2025.113454 · Cited by 1
ChipXplore: Natural Language Exploration of Hardware Designs and Libraries
Abdelatty, M., Rosenstein, J. K., & Reda, S. (2025) · IEEE International Conference on LLM-Aided Design (ICLAD) · doi:10.1109/iclad65226.2025.00036 · Cited by 4
Evoschema: Towards Text-to-SQL Robustness against Schema Evolution
Zhang, T., Qian, K., Sahai, S., Tian, Y., Garg, S., Sun, H., & Li, Y. (2025) · Proceedings of the VLDB Endowment · doi:10.14778/3748191.3748222 · Cited by 16
Self-citationAl-Turki, D., Basurra, S. S., Gaber, M. M., Attasi, B., & Abdelsamea, M. M. (2025) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn64981.2025.11227910 · Cited by 5
Chain-of-Program Prompting with Open-Source Large Language Models for Text-to-SQL
Xu, B., Li, S., Wu, Y., Wei, S., Du, M., Wang, H., & Song, H. (2024) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn60899.2024.10650552 · Cited by 9
Self-citationRevisiting data analysis with Pre-trained foundation models
Liang, C., Yang, D., Liang, Z., Liang, Z., Zhang, T., Xiao, B., Yang, Y., Wang, W., & Wang, H. (2026) · The VLDB Journal · doi:10.1007/s00778-025-00953-5 · Cited by 5
Self-citationEMLC: An extensible multi-level correction framework for text-to-SQL
Lei, J., Tan, Y., & Wang, Y. (2025) · Information Processing & Management · doi:10.1016/j.ipm.2025.104560 · Cited by 1
LLM-SQL-Solver: Can LLMs Determine SQL Equivalence?
Zhao, F., Chen, J., Lim, L., Ahmad, I., Agrawal, D., & Abbadi, A. E. (2025) · IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata66926.2025.11401595 · Cited by 34
Li, Y., Jin, C., Peng, X., & Lin, Y. (2026) · Journal of Intelligent Information Systems · doi:10.1007/s10844-026-01050-x · Cited by 1
Self-citationThe Power of Constraints in Natural Language to SQL Translation
Ren, T., Chen, K., Fan, Y., Jing, Y., He, Z., Zhang, K., & Wang, X. S. (2025) · Proceedings of the VLDB Endowment · doi:10.14778/3734839.3734847 · Cited by 11
Lin, Z., Zhang, Y., Sun, H., Li, W., Zhang, Y., Wang, L., Zhong, F., & Liu, L. (2026) · Expert Systems with Applications · doi:10.1016/j.eswa.2026.134631
Mohammed, M. A., Çakmak, M. C., & Talburt, J. R. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.6844785
SQL-Factory: A Multi-Agent Framework for High-Quality and Large-Scale SQL Generation
Li, J., Wu, T., Mao, Y., Gao, Y., Feng, Y., & Liu, H. G. (2025) · Proceedings of the VLDB Endowment · doi:10.14778/3778092.3778093 · Cited by 15
VisQ2SQL: Towards SQL-Driven Data Visualization via LLMs-Grounded Preference Learning
Shi, S., Ren, T., & Hu, J. (2025) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp49660.2025.10888696 · Cited by 1
Nguyen, K.-T., & Le, Q.-H. (2026) · Communications in computer and information science · doi:10.1007/978-3-032-21628-1_16
Smaller Large Language Models for Text-To-Sql: Performance Analysis and Optimal Performance
Karki, S., Karki, P., Shrestha, B. L., & Jha, T. N. (2025) · International Conference on Inventive Computation Technologies (ICICT) · doi:10.1109/icict64420.2025.11005216 · Cited by 2
Reliable Database Question Answering with Collaborative Agents
Zhang, M., Wang, X., Peng, Y., Yang, W., Yang, S. M., & Jin, R. (2026) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp55912.2026.11463606
Zamankhani, S., & Sattler, K.-U. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-34374-1_17
Performance Evaluation of Machine Learning—Based NL2SQL Models on Time-Series Industrial Data
Babu, C., G, V. P., Sreelekha, T., Paul, M., V, Jose, S., Divya, R., & Philip, A. (2026) · International Conference on Innovations in Engineering and Technology (ICIET) · doi:10.1109/iciet70550.2026.11712163
Semantic Relational Types of SQL Queries and Applications to AI Agent Tool Selection
Ma, L., Synytskyi, B., Zhu, Y. N., & Pu, K. Q. (2025) · IEEE International Conference on Collaborative Advances in Software and Computing (CASCON) · doi:10.1109/cascon66301.2025.00048
The ReQAP System for Question Answering over Personal Information
Christmann, P., & Weikum, G. (2025) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3746252.3761494 · Cited by 1
BESR-SQL: A Budget-Aware Error-Granularity Self-Repair Agent for Chinese Multi-Turn Text-to-SQL
Yang, S. (2026) · International Conference on Artificial Intelligence, Big Data and Algorithms (CAIBDA) · doi:10.1109/caibda70336.2026.11621820
SRSPSQL: A dual-stage Text-to-SQL framework with semantic rewriting and schema pruning
Lei, J., Li, Z., & Wang, Y. (2026) · Information and Software Technology · doi:10.1016/j.infsof.2026.108064
Text-to-Mapper: Generating Executable MyBatis ORM Artifacts From Natural Language Requirements
Chen, Z., Lin, X., Chen, Y., Huang, R., Yan, J., Chi, Z., Dai, J., Cai, Z., Wang, L., & Zhong, Y. (2026) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2026.3702824
MRS-Agent: A map-reduce framework for quantifiable schema grounding in Text-to-SQL
Chan, S., Kong, V., Nayyar, A., & Kim, T.-K. (2026) · ICT Express · doi:10.1016/j.icte.2026.07.018
Hua, L., Zheng, J., Zheng, H., Zhang, L., Zheng, G., & Zhang, L. (2026) · IEEE China Conference on System Simulation Technology and its Applications (CCSSTA) · doi:10.1109/ccssta69471.2026.11635782
Querying an astronomical database using large language models: the ALeRCE text-to-SQL system
Estévez, P. A., Espejo-Moreira, J., Sanfeliu-Alvarez, S., Förster, F., Muñoz-Arancibia, A., Cabrera-Vives, G., Bauer, F. E., Bayo, A., Catelan, M., Dastidar, R., et al. (2026) · Astronomy and Astrophysics · doi:10.1051/0004-6361/202558221
Zheng, R., Wu, Z., Shi, S., Bai, Q., Li, H., Hui, Y., & Wu, W. (2025) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre66568.2025.00040
Exploring Database Normalization Effects on SQL Generation
Kohita, R. (2025) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3746252.3761583 · Cited by 5
Ziletti, A., & D'Ambrosi, L. (2026) · Communications in computer and information science · doi:10.1007/978-3-032-16708-8_19 · Cited by 3
HIT-SCIR at IJCKG2025: Multi-step Text-to-SQL System
Wang, D., Zhang, X., Xu, K., Zhu, Q., & Che, W. (2026) · Lecture notes in computer science · doi:10.1007/978-981-95-5009-8_38
Lightweight Text-to-SQL Enhancement via Schema Ranking and Skeleton-Constrained CoT Distillation
Gao, W., Li, X., & Qin, B. (2025) · International Symposium on Artificial Intelligence and Big Data (AIBDF) · doi:10.1109/aibdf67964.2025.11440751
E rror LLM: Modeling SQL Errors for Text-to-SQL Refinement
Hong, Z., Chen, H., Yuan, Z., Zhang, Q., Zhuang, L., Liao, Q., Huang, F., Song, Y., & Huang, X. X. (2026) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3770855.3818164 · Cited by 7
LLM-Based Data Synthesis and Distillation for High-Quality Text-to-SQL Training
Cui, S., Wen, K., Sang, B., Li, T., Zhang, Y., & Gao, H. (2025) · Lecture notes in computer science · doi:10.1007/978-981-95-0014-7_5 · Cited by 3
Huang, Y., Guo, J., Zeng, J., Gao, C., Han, P., & Liu, C. (2025) · Lecture notes in computer science · doi:10.1007/978-981-95-3346-6_22
Sunny, S. M. N. A., Nadaf, L., Srivastava, A. K., Singh, S., Manukonda, Y. R., & Panahi, M. (2026) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac69091.2026.00491
LLMLog: Advanced Log Template Generation via LLM-Driven Multi-Round Annotation
Teng, F., Li, H., & Chen, L. (2025) · Proceedings of the VLDB Endowment · doi:10.14778/3746405.3746433 · Cited by 3
Enhanced Schema Linking with Large Language Models via Self-Verification and Value Hints
Ma, L., Wei, D., Li, X., Wen, F., & Zhang, H. (2026) · Big Data and Cognitive Computing · doi:10.3390/bdcc10040104
AES-SQL: Text-to-SQL Based on Adaptive Prompting and Intelligent Example Selection
Shen, Z., & Song, Z. (2026) · International Conference on Consumer Electronics and Computer Engineering (ICCECE) · doi:10.1109/iccece69169.2026.11399787
An Agentic System for Context-Aware Synthetic Data Generation
Rubaiat, S. Y., Sakib, S. N., & Jamil, H. M. (2026) · Proceedings of the Workshop on Synthetic Data Generation and Management for Building AI Systems · doi:10.1145/3814574.3816750
ATLAS: Adaptive Text-to-SQL with Lifecycle-Aware Self-Maintaining Context
Zhang, Q., Hu, S., & Lu, Z. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3827998.3828135
DLRover-LM: LLM Pre-Training Framework With Thousands of Accelerators in AntGroup
Huang, Z., Ye, Z., Cai, Q., Huang, Z., Sang, B., Zhang, H., Sha, J., Lan, T., Lu, H., Zhou, Y., et al. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00271
DualLane: Fast and Reliable LLM Agents for Interactive AIOps via Dual-Path Planning
Wang, H., Ma, W., Hu, B., Li, H., Si, Q., Guo, H., Huang, B., Zhu, Z., Zhang, Y., Zhou, Y., et al. (2026) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3770855.3818380 · Cited by 1
Self-citationCen, J., Liu, J., Li, Z., & Wang, J. (2025) · Lecture notes in computer science · doi:10.1007/978-981-95-3346-6_29
A Secure Multi-Tenant Framework for Institutional Question Answering with Tool-Calling LLMs
Kim, S. H., & Geem, Z. W. (2026) · Applied Sciences · doi:10.3390/app16157374
GRASP: Graph-Enhanced Retrieval for Accurate Schema Pruning in Text-to-SQL
Cheng, X., Zhang, H. R., Li, C., & Xu, S. (2026) · ISPRS International Journal of Geo-Information · doi:10.3390/ijgi15060248
LLCE-SQL: Data-Efficient Text-to-SQL Training via Logic-Linking Driven Collaborative Evolution
Zhang, Y., Qi, J., Xu, W., Hu, X., Dong, Z., Chen, G., Sun, L., & Sun, Y. (2026) · IEEE Transactions on Audio Speech and Language Processing · doi:10.1109/taslpro.2026.3724417
Yan, S.-X., & Zhong, Y.-J. (2026) · IEEE Access · doi:10.1109/access.2026.3728168
GraphRAG-Driven Multi-Stage Context Retrieval for Thai Text-to-SQL Using SLM Agents
Sompong, C., Khanthacha, K., Chaukampeng, T., Panyakun, S., Ngokwong, N., & Puntumnunt, V. (2026) · IEEE International Conference on Cybernetics and Innovations (ICCI) · doi:10.1109/icci68752.2026.11506507
Pedroso, B. C., Pereira, D. A., da Silva, C. M. L., Leme, M. M. V., & de Castro, K. C. P. L. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-39882-6_12
Research and Practice on Database Interaction Based on Natural Language Processing
You, Z., Yao, J., Cheng, D., Wen, Z., Lu, Z.-L., & Shen, X. (2024) · International Conference on Artificial Intelligence and Automation Control (AIAC) · doi:10.1109/aiac63745.2024.10899660
VMES Chatbot: Leveraging Large Language Models for SQL-Based Information Retrieval
Sann, T. S., Kimsong, T., Rojanarowan, J., & Patanavijit, V. (2025) · International STEM Education Conference (iSTEM-Ed) · doi:10.1109/istem-ed65612.2025.11129346
SMART-SQL: Self-evolving Multi-agent Refinement for Text-to-SQL
An, L., & Wu, G. (2026) · Communications in computer and information science · doi:10.1007/978-981-92-3557-5_5
Ramadijanti, N., Rahmadani, R., Muliawati, T. H., & Edelani, R. (2026) · International Electronics Symposium (IES) · doi:10.1109/ies71033.2026.11702596
SQL3M: Token Efficient Text-to-SQL Generation
Ücelehan, I., Geiger, A., & Sobania, D. (2026) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner67736.2026.00105
Querying Enterprise Architecture Repositories with Natural Language
Melo, W. (2026) · Conference on systems engineering research series · doi:10.1007/978-3-032-12309-1_8 · Cited by 1
Katsogiannis-Meimarakis, G., Mitsopoulou, A., Xydas, M., & Koutrika, G. (2025) · Data-centric systems and applications · doi:10.1007/978-3-032-06905-4_3
Ortiz, D., Gomez, L., Romero, J., Nishchai, J. M., & Zhang, R. Q. (2026) · IEEE Cloud Summit · doi:10.1109/cloudsummit68932.2026.00049
Ravandi, A. B. R. A. B., & El-Diraby, T. E. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.6251262
Retrieval-Augmented Text-to-CSEQL Generation for Cross-Platform Cyberspace Assets Query
Li, Y., Li, Y., Shi, F., Xue, P., Xu, C., & Hu, L. (2025) · Electronics · doi:10.3390/electronics14163164
Self-citationAscoli, B. G., & Choi, J. D. (2025) · Future Internet · doi:10.3390/fi17110527 · Cited by 2
An LLM-Powered Intelligent Assistant for Learning Management Systems Using RAG and NL2SQL Pipelines
Acharya, S. S., Shenoy, G. S., Shenai, S., GudurNitte, S., & Tushar, D. S. (2026) · International Conference on Distributed Computing and Electrical Circuits and Electronics (ICDCECE) · doi:10.1109/icdcece68961.2026.11646016
EBA-SQL: A Multi-Agent Collaborative Framework with Entity-Based Analysis for Text-to-SQL
Lin, J., Guo, N., & Gong, Z. (2025) · IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA) · doi:10.1109/ispa67752.2025.00181
Persona-Conditioned Query Generation for Selectivity-Controlled Workloads
Davitkova, A., & Michel, S. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3827998.3828104
Khajuria, K., & Bathla, R. K. (2026) · Research Square · doi:10.21203/rs.3.rs-10281882/v1
CYANSQL: Unlock the Power of NL2SQL Via Clustering-Based Test-Time Scaling
Qin, H., Ren, T., He, Z., Wang, X. S., Xing, J., Ye, Y., Huang, S., & Li, J. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00084
CityChat: Template-Guided Text-to-SQL over City-Scale Spatial Data
Bian, Y., & Magdy, A. (2026) · IEEE International Conference on Data Engineering Workshops (ICDEW) · doi:10.1109/icdew71238.2026.00028
Katsogiannis-Meimarakis, G., Mitsopoulou, A., Xydas, M., & Koutrika, G. (2025) · Data-centric systems and applications · doi:10.1007/978-3-032-06905-4_4
Chen, Z., Wu, K., Li, Z., Hou, Y., Yu, W., Liu, Z., Li, H., Liang, Z., Qin, H., Ren, T., et al. (2026) · Lecture notes in computer science · doi:10.1007/978-981-95-5716-5_5
Wu, X. (2026) · International Conference on Artificial Intelligence and Industrial Technology Applications (AIITA) · doi:10.1109/aiita69518.2026.11567299
Efficient Ambiguity Resolution via Information-Guided Clarification for Text-to-SQL
Qiu, L., Li, J., Song, Y., Qi, R., Hsiao, J. H., & Chen, L. (2026) · International Conference on Parallel Processing Workshops (ICPPW) · doi:10.1145/3816891.3837728
Retrieval and Augmentation of Domain Knowledge for Text-to-SQL Semantic Parsing
Patwardhan, M. S., Agarwal, A., Bhaisaheb, S., Arora, A., Vig, L., & Sarawagi, S. (2025) · IEEE ... International Conference on Data Mining workshops · doi:10.1109/icdmw69685.2025.00201
Financial Info AI Agent: Building a High-Accuracy Agentic Workflow for Investor Relations Analytics
Murthy, M. N., Yu, T., Eccles, A., Vivek, S., Madugula, M., Akkiraju, R., & Boier, I. (2025) · IEEE Women in Technology Conference (WINTECHCON) · doi:10.1109/wintechcon66724.2025.11429706
DSMR-SQL: Enhancing Text-to-SQL with Dual-Strategy SQL Generation and Multi-role SQL Selection
Huang, Y., Guo, J., Zeng, J., Gao, C., Han, P., & Liu, C. (2025) · Lecture notes in computer science · doi:10.1007/978-981-95-2725-0_26
Conversational Inventory Management: A Proof-of-Concept for LLM-Mediated ERP Inventory Operations
Assidiqi, M. H., Alghazzawi, D., & Alarifi, S. (2026) · International Electronics Symposium (IES) · doi:10.1109/ies71033.2026.11702636
Large Language Models in der Datenbanklehre – Ergebnisse einer Online-Umfrage unter Lehrenden
Thor, A., Lenz, R., & Störl, U. (2025) · Datenbank-Spektrum · doi:10.1007/s13222-025-00514-8
LINC-SQL: A Collaborative Framework for Robust Text-to-SQL Generation
Wang, W., Huo, D., Yang, Q., Yu, D., Wang, Y., & Zhou, Q. (2026) · International Conference on Computer Supported Cooperative Work in Design (CSCWD) · doi:10.1109/cscwd68734.2026.11582832
Agentic-SQL Taxonomy: The Research of Autonomous and Interactive Text-to-SQL with LLMs
Su, Y., Zhu, H., Tian, Y., Zhao, C., Peng, Z., Liu, Y., Zhang, L. H., Fan, L., & Li, B. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-3438-7_27 · Cited by 9
Dynamic Curriculum Learning over Difficulty Heterogeneity for Text-to-SQL
Zhang, X., Tao, C., Xing, S., Chen, Z., & Ma, S. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-2759-4_12
Zhu, X., Tang, L., Lai, X., Xiao, L., Yang, J., & Chen, Z. Q. (2024) · International Conference on Control, Robotics and Intelligent System (CCRIS) · doi:10.1117/12.3050108
Zhang, C., Zhang, B., Yang, D., Peng, X., Chen, M., Xie, S., Chen, G., Bi, W., & Li, W. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3797910 · Cited by 8
Relevance Summarization for Example-Guided Text-to-SQL Generation in Complex Schema Database
Ruskanda, F. Z., & Halim, M. J. (2025) · International Conference on Advanced Informatics: Concepts, Theory and Applications (ICAICTA) · doi:10.1109/icaicta67604.2025.11335034
Verifier-Guided Autonomous SQL Generation Using LLM Agents and Schema-Aware Retrieval
Mohanam, B. N. (2026) · International Conference on Cybersecurity, Digital Forensics, and AI Applications (ICCSDFAI) · doi:10.1109/iccsdfai70505.2026.11647922
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.