{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,18]],"date-time":"2026-08-18T01:47:08Z","timestamp":1787017628528,"version":"build-2736575974"},"reference-count":80,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T00:00:00Z","timestamp":1782777600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["62402183"],"award-info":[{"award-number":["62402183"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["92582108"],"award-info":[{"award-number":["92582108"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["62372181"],"award-info":[{"award-number":["62372181"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Shanghai Special Program for Promoting High-Quality Industrial Development","award":["250668"],"award-info":[{"award-number":["250668"]}]},{"name":"Shanghai Special Program for Promoting High-Quality Industrial Development","award":["250203"],"award-info":[{"award-number":["250203"]}]},{"name":"CCF-Huawei Populus Grove Fund","award":["CCF-HuaweiTC202304"],"award-info":[{"award-number":["CCF-HuaweiTC202304"]}]},{"name":"Shanghai Driverless Train Control System Engineering Technology Research Center","award":["SUTC-2024KT-03"],"award-info":[{"award-number":["SUTC-2024KT-03"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2026,6,30]]},"abstract":"<jats:p>Large language models (LLMs) have been adopted for text-to-SQL tasks, utilizing their in-context learning (ICL) capability to translate natural language questions into SQL queries. However, such a technique faces correctness problems. In this paper, we conduct the first comprehensive study of text-to-SQL errors of ICL-based techniques. Our study covers four representative ICL-based techniques, five basic repairing methods, two benchmarks, and two LLM settings. We find that text-to-SQL errors are widespread and summarize 27 error types of 7 categories. We also find that existing repairing attempts have limited correctness improvement while having high computational overhead and many mis-repairs. Based on these findings, we propose MapleDoctor, a novel text-to-SQL error detection and repairing framework. The evaluation demonstrates that MapleDoctor outperforms existing solutions by repairing 13.8% more queries with a negligible number of mis-repairs and reducing 67.4% repair latency. The artifact is publicly available at GitHub.<\/jats:p>","DOI":"10.1145\/3808171","type":"journal-article","created":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T17:06:14Z","timestamp":1782839174000},"page":"3722-3745","source":"Crossref","is-referenced-by-count":1,"title":["Understanding, Detecting, and Repairing Real-World In-Context-Learning-Based Text-to-SQL Errors"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0009-0002-9349-5841","authenticated-orcid":false,"given":"Jiawei","family":"Shen","sequence":"first","affiliation":[{"name":"East China Normal University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9162-9688","authenticated-orcid":false,"given":"Chengcheng","family":"Wan","sequence":"additional","affiliation":[{"name":"East China Normal University, Shanghai, China"},{"name":"Shanghai Innovation Institute, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-0373-2481","authenticated-orcid":false,"given":"Ruoyi","family":"Qiao","sequence":"additional","affiliation":[{"name":"East China Normal University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-9180-258X","authenticated-orcid":false,"given":"Jiazhen","family":"Zou","sequence":"additional","affiliation":[{"name":"East China Normal University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-2061-2285","authenticated-orcid":false,"given":"Hang","family":"Xu","sequence":"additional","affiliation":[{"name":"East China Normal University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-0414-7521","authenticated-orcid":false,"given":"Yuchen","family":"Shao","sequence":"additional","affiliation":[{"name":"East China Normal University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2542-2619","authenticated-orcid":false,"given":"Yueling","family":"Zhang","sequence":"additional","affiliation":[{"name":"East China Normal University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-2038-439X","authenticated-orcid":false,"given":"Weikai","family":"Miao","sequence":"additional","affiliation":[{"name":"East China Normal University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9750-8334","authenticated-orcid":false,"given":"Geguang","family":"Pu","sequence":"additional","affiliation":[{"name":"East China Normal University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,30]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"crossref","unstructured":"Mohammadreza Pourreza and Davood Rafiei. 2024. DIN-SQL: decomposed in-context learning of text-to-SQL with self-correction. In NIPS.","DOI":"10.52202\/075280-1577"},{"key":"e_1_2_1_2_1","volume-title":"DB-GPT: Empowering Database Interactions with Private Large Language Models. arXiv preprint arXiv:2312.17449","author":"Xue Siqiao","year":"2023","unstructured":"Siqiao Xue, Caigao Jiang, Wenhui Shi, Fangyin Cheng, Keting Chen, Hongjun Yang, Zhiping Zhang, Jianshan He, Hongyang Zhang, Ganglin Wei, Wang Zhao, Fan Zhou, Danrui Qi, Hong Yi, Shaodong Liu, and Faqiang Chen. 2023. DB-GPT: Empowering Database Interactions with Private Large Language Models. arXiv preprint arXiv:2312.17449 (2023)."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3543873.3587309"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","unstructured":"Jaydeep Sen Fatma Ozcan Abdul Quamar Greg Stager Ashish Mittal Manasa Jammi Chuan Lei Diptikalyan Saha and Karthik Sankaranarayanan. 2019. Natural Language Querying of Complex Business Intelligence Queries. In SIGMOD. doi:10.1145\/3299869.3320248 10.1145\/3299869.3320248","DOI":"10.1145\/3299869.3320248"},{"key":"e_1_2_1_5_1","volume-title":"ChatBI: Towards Natural Language to Complex Business Intelligence SQL. arXiv preprint arXiv:2405.00527","author":"Lian Jinqing","year":"2024","unstructured":"Jinqing Lian, Xinyi Liu, Yingxia Shao, Yang Dong, Ming Wang, Zhang Wei, Tianqi Wan, Ming Dong, and Hailin Yan. 2024. ChatBI: Towards Natural Language to Complex Business Intelligence SQL. arXiv preprint arXiv:2405.00527 (2024)."},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","unstructured":"Chao Zhang Yuren Mao Yijiang Fan Yu Mi Yunjun Gao Lu Chen Dongfang Lou and Jinshu Lin. 2024. FinSQL: Model-Agnostic LLMs-based Text-to-SQL Framework for Financial Analysis. In SIGMOD. doi:10.1145\/3626246.3653375 10.1145\/3626246.3653375","DOI":"10.1145\/3626246.3653375"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/3533767.3534396"},{"key":"e_1_2_1_8_1","volume-title":"Proceedings of the 31st International Conference on Computational Linguistics. 540-557","author":"Wang Bing","year":"2025","unstructured":"Bing Wang, Changyu Ren, Jian Yang, Xinnian Liang, Jiaqi Bai, LinZheng Chai, Zhao Yan, Qian-Wen Zhang, Di Yin, Xing Sun, and Zhoujun Li. 2025. MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQL. In Proceedings of the 31st International Conference on Computational Linguistics. 540-557. https:\/\/aclanthology.org\/2025.coling-main.36\/"},{"key":"e_1_2_1_9_1","volume-title":"CHESS: Contextual Harnessing for Efficient SQL Synthesis. arXiv preprint arXiv:2405.16755","author":"Talaei Shayan","year":"2024","unstructured":"Shayan Talaei, Mohammadreza Pourreza, Yu-Chen Chang, Azalia Mirhoseini, and Amin Saberi. 2024. CHESS: Contextual Harnessing for Efficient SQL Synthesis. arXiv preprint arXiv:2405.16755 (2024)."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.findings-acl.641"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.14778\/3641204.3641221"},{"key":"e_1_2_1_12_1","volume-title":"Jinshu Lin, and Dongfang Lou.","author":"Dong Xuemei","year":"2023","unstructured":"Xuemei Dong, Chao Zhang, Yuhang Ge, Yuren Mao, Yunjun Gao, lu Chen, Jinshu Lin, and Dongfang Lou. 2023. C3: Zero-shot Text-to-SQL with ChatGPT. arXiv preprint arXiv:2307.07306 (2023)."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.findings-acl.324"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2025.findings-emnlp.22"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.emnlp-main.449"},{"key":"e_1_2_1_16_1","volume-title":"ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought. arXiv preprint arXiv:2310.17342","author":"Zhang Hanchong","year":"2023","unstructured":"Hanchong Zhang, Ruisheng Cao, Lu Chen, Hongshen Xu, and Kai Yu. 2023. ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought. arXiv preprint arXiv:2310.17342 (2023)."},{"key":"e_1_2_1_17_1","volume-title":"The Death of Schema Linking? Text-to-SQL in the Age of Well-Reasoned Language Models. arXiv preprint arXiv:2408.07702","author":"Maamari Karime","year":"2024","unstructured":"Karime Maamari, Fadhil Abubaker, Daniel Jaroslawicz, and Amine Mhedhbi. 2024. The Death of Schema Linking? Text-to-SQL in the Age of Well-Reasoned Language Models. arXiv preprint arXiv:2408.07702 (2024)."},{"key":"e_1_2_1_18_1","volume-title":"Yu Gan, Amin Saberi, Fatma Ozcan, and Sercan O. Arik.","author":"Pourreza Mohammadreza","year":"2024","unstructured":"Mohammadreza Pourreza, Hailong Li, Ruoxi Sun, Yeounoh Chung, Shayan Talaei, Gaurav Tarlok Kakkar, Yu Gan, Amin Saberi, Fatma Ozcan, and Sercan O. Arik. 2024. CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL. arXiv preprint arXiv:2410.01943 (2024)."},{"key":"e_1_2_1_19_1","volume-title":"E-SQL: Direct Schema Linking via Question Enrichment in Text-to-SQL. arXiv preprint arXiv:2409.16751","author":"Cafero\u011flu Hasan Alp","year":"2024","unstructured":"Hasan Alp Cafero\u011flu and \u00d6zg\u00fcr Ulusoy. 2024. E-SQL: Direct Schema Linking via Question Enrichment in Text-to-SQL. arXiv preprint arXiv:2409.16751 (2024)."},{"key":"e_1_2_1_20_1","volume-title":"RSL-SQL: Robust Schema Linking in Text-to-SQL Generation. arXiv preprint arXiv:2411.00073","author":"Cao Zhenbiao","year":"2024","unstructured":"Zhenbiao Cao, Yuanlei Zheng, Zhihao Fan, Xiaojin Zhang, and Wei Chen. 2024. RSL-SQL: Robust Schema Linking in Text-to-SQL Generation. arXiv preprint arXiv:2411.00073 (2024)."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3581641.3584067"},{"key":"e_1_2_1_22_1","volume-title":"Adams Wei Yu, Xinying Song, and Denny Zhou.","author":"Huang Jie","year":"2024","unstructured":"Jie Huang, Xinyun Chen, Swaroop Mishra, Huaixiu Steven Zheng, Adams Wei Yu, Xinying Song, and Denny Zhou. 2024. Large Language Models Cannot Self-Correct Reasoning Yet. arXiv preprint arXiv:2310.01798 (2024)."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","unstructured":"Ruilin Luo Liyuan Wang Binghuai Lin Zicheng Lin and Yujiu Yang. 2024. PTD-SQL: Partitioning and Targeted Drilling with LLMs in Text-to-SQL. In EMNLP. doi:10.18653\/v1\/2024.emnlp-main.221 10.18653\/v1\/2024.emnlp-main.221","DOI":"10.18653\/v1\/2024.emnlp-main.221"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-981-95-3830-0_13"},{"key":"e_1_2_1_25_1","volume-title":"Proceedings of the 31st International Conference on Computational Linguistics. 337-353","author":"Lee Dongjun","year":"2025","unstructured":"Dongjun Lee, Choongwon Park, Jaehyuk Kim, and Heesoo Park. 2025. MCS-SQL: Leveraging Multiple Prompts and Multiple-Choice Selection For Text-to-SQL Generation. In Proceedings of the 31st International Conference on Computational Linguistics. 337-353. https:\/\/aclanthology.org\/2025.coling-main.24\/"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/D18-1425"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.52202\/075280-1835"},{"key":"e_1_2_1_28_1","volume-title":"Card sorting: a definitive guide. Boxes and arrows 2","author":"Spencer Donna","year":"2004","unstructured":"Donna Spencer and Todd Warfel. 2004. Card sorting: a definitive guide. Boxes and arrows 2, 2004 (2004), 1-23."},{"key":"e_1_2_1_29_1","unstructured":"2024. Foreign Key Enforcement. https:\/\/www.sqlite.org\/quirks.html#foreign_key_enforcement_is_off_by_default Accessed: 2024-10-09."},{"key":"e_1_2_1_30_1","unstructured":"2024. MySQL. https:\/\/www.mysql.com\/ Accessed: 2024-10-09."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE55347.2025.00204"},{"key":"e_1_2_1_32_1","unstructured":"2024. Bug Report: accidentally pruned out foreign key issue. https:\/\/github.com\/ShayanTalaei\/CHESS\/issues\/11 Accessed: 2024-11-05."},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.14778\/3636218.3636225"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/N18-2115"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/P18-1034"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/D18-1193"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/P19-1444"},{"key":"e_1_2_1_38_1","volume-title":"IncSQL: Training Incremental Text-to-SQL Parsers with Non-Deterministic Oracles. arXiv preprint arXiv:1809.05054","author":"Shi Tianze","year":"2018","unstructured":"Tianze Shi, Kedar Tatwawadi, Kaushik Chakrabarti, Yi Mao, Oleksandr Polozov, and Weizhu Chen. 2018. IncSQL: Training Incremental Text-to-SQL Parsers with Non-Deterministic Oracles. arXiv preprint arXiv:1809.05054 (2018)."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2021.findings-emnlp.174"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2021.naacl-main.29"},{"key":"e_1_2_1_41_1","volume-title":"Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning. arXiv preprint arXiv:1709.00103","author":"Zhong Victor","year":"2017","unstructured":"Victor Zhong, Caiming Xiong, and Richard Socher. 2017. Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning. arXiv preprint arXiv:1709.00103 (2017)."},{"key":"e_1_2_1_42_1","volume-title":"SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learning. arXiv preprint arXiv:1711.04436","author":"Xu Xiaojun","year":"2017","unstructured":"Xiaojun Xu, Chang Liu, and Dawn Song. 2017. SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learning. arXiv preprint arXiv:1711.04436 (2017)."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/N18-2093"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/P18-"},{"key":"e_1_2_1_45_1","volume-title":"Hybrid Ranking Network for Text-to-SQL. arXiv preprint arXiv:2008.04759","author":"Lyu Qin","year":"2020","unstructured":"Qin Lyu, Kaushik Chakrabarti, Shobhit Hathi, Souvik Kundu, Jianwen Zhang, and Zheng Chen. 2020. Hybrid Ranking Network for Text-to-SQL. arXiv preprint arXiv:2008.04759 (2020)."},{"key":"e_1_2_1_46_1","volume-title":"A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualization. arXiv preprint arXiv:1902.01069","author":"Hwang Wonseok","year":"2019","unstructured":"Wonseok Hwang, Jinyeong Yim, Seunghyun Park, and Minjoon Seo. 2019. A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualization. arXiv preprint arXiv:1902.01069 (2019)."},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","unstructured":"Haoyang Li Jing Zhang Cuiping Li and Hong Chen. 2023. RESDSQL: decoupling schema linking and skeleton parsing for text-to-SQL. In Proceedings of the Thirty-Seventh AAAI Conference on Artificial Intelligence and Thirty-Fifth Conference on Innovative Applications of Artificial Intelligence and Thirteenth Symposium on Educational Advances in Artificial Intelligence (AAAI'23\/IAAI'23\/EAAI'23). Article 1466 9 pages. doi:10.1609\/aaai.v37i11.26535 10.1609\/aaai.v37i11.26535","DOI":"10.1609\/aaai.v37i11.26535"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE60146.2024.00009"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2022"},{"key":"e_1_2_1_50_1","volume-title":"Yi Chern Tan, Xinyi Yang, Dragomir Radev, richard socher, and Caiming Xiong.","author":"Yu Tao","year":"2021","unstructured":"Tao Yu, Chien-Sheng Wu, Xi Victoria Lin, bailin wang, Yi Chern Tan, Xinyi Yang, Dragomir Radev, richard socher, and Caiming Xiong. 2021. GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsing. In ICLR."},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","unstructured":"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 Proceedings of the Thirty-Seventh AAAI Conference on Artificial Intelligence and Thirty-Fifth Conference on Innovative Applications of Artificial Intelligence and Thirteenth Symposium on Educational Advances in Artificial Intelligence (AAAI'23\/IAAI'23\/EAAI'23). Article 1467 9 pages. doi:10.1609\/aaai.v37i11.26536 10.1609\/aaai.v37i11.26536","DOI":"10.1609\/aaai.v37i11.26536"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2020.findings-emnlp.438"},{"key":"e_1_2_1_53_1","volume-title":"X-SQL: reinforce schema representation with context. arXiv preprint arXiv:1908.08113","author":"He Pengcheng","year":"2019","unstructured":"Pengcheng He, Yi Mao, Kaushik Chakrabarti, and Weizhu Chen. 2019. X-SQL: reinforce schema representation with context. arXiv preprint arXiv:1908.08113 (2019)."},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/3654930"},{"key":"e_1_2_1_55_1","volume-title":"SQL-PaLM: Improved Large Language Model Adaptation for Text-to-SQL (extended). arXiv preprint arXiv:2306.00739","author":"Sun Ruoxi","year":"2024","unstructured":"Ruoxi Sun, Sercan O. Arik, Alex Muzio, Lesly Miculicich, Satya Gundabathula, Pengcheng Yin, Hanjun Dai, Hootan Nakhost, Rajarishi Sinha, Zifeng Wang, and Tomas Pfister. 2024. SQL-PaLM: Improved Large Language Model Adaptation for Text-to-SQL (extended). arXiv preprint arXiv:2306.00739 (2024)."},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.14778\/3681954.3682003"},{"key":"e_1_2_1_57_1","volume-title":"A Survey of NL2SQL with Large Language Models: Where are we, and where are we going? arXiv preprint arXiv:2408.05109","author":"Liu Xinyu","year":"2024","unstructured":"Xinyu Liu, Shuyu Shen, Boyan Li, Peixian Ma, Runzhi Jiang, Yuyu Luo, Yuxin Zhang, Ju Fan, Guoliang Li, and Nan Tang. 2024. A Survey of NL2SQL with Large Language Models: Where are we, and where are we going? arXiv preprint arXiv:2408.05109 (2024)."},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/3650114"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/3711896.3737427"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1145\/2839509.2844640"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1109\/FIE44824.2020.9274114"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/3231712"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1145\/3551392"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1145\/3531072.3535319"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1145\/3446871.3469759"},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","unstructured":"Ruiqi Zhong Tao Yu and Dan Klein. 2020. Semantic Evaluation for Text-to-SQL with Distilled Test Suites. In EMNLP. doi:10.18653\/v1\/2020.emnlp-main.29 10.18653\/v1\/2020.emnlp-main.29","DOI":"10.18653\/v1\/2020.emnlp-main.29"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2025.naacl-long.228"},{"key":"e_1_2_1_68_1","volume-title":"Yasoda Sai Ram Kandikonda, and Jinho D. Choi","author":"Ascoli Benjamin G.","year":"2024","unstructured":"Benjamin G. Ascoli, Yasoda Sai Ram Kandikonda, and Jinho D. Choi. 2024. ESM+: Modern Insights into Perspective on Text-to-SQL Evaluation in the Age of Large Language Models. arXiv preprint arXiv:2407.07313 (2024)."},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.emnlp-main.436"},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.acl-short.34"},{"key":"e_1_2_1_71_1","doi-asserted-by":"publisher","unstructured":"Jipeng Cen Jiaxin Liu Zhixu Li and Jingjing Wang. 2025. SQLFixAgent: towards semantic-accurate text-to-SQL parsing via consistency-enhanced multi-agent collaboration. In Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence and Thirty-Seventh Conference on Innovative Applications of Artificial Intelligence and Fifteenth Symposium on Educational Advances in Artificial Intelligence (AAAI'25\/IAAI'25\/EAAI'25). Article 6 9 pages. doi:10.1609\/aaai.v39i1.31979 10.1609\/aaai.v39i1.31979","DOI":"10.1609\/aaai.v39i1.31979"},{"key":"e_1_2_1_72_1","volume-title":"MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQL. arXiv preprint arXiv:2408.07930","author":"Xie Wenxuan","year":"2024","unstructured":"Wenxuan Xie, Gaochen Wu, and Bowen Zhou. 2024. MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQL. arXiv preprint arXiv:2408.07930 (2024)."},{"key":"e_1_2_1_73_1","volume-title":"Context-Aware SQL Error Correction Using Few-Shot Learning -A Novel Approach Based on NLQ, Error, and SQL Similarity. arXiv preprint arXiv:2410.09174","author":"Jain Divyansh","year":"2024","unstructured":"Divyansh Jain and Eric Yang. 2024. Context-Aware SQL Error Correction Using Few-Shot Learning -A Novel Approach Based on NLQ, Error, and SQL Similarity. arXiv preprint arXiv:2410.09174 (2024)."},{"key":"e_1_2_1_74_1","doi-asserted-by":"publisher","DOI":"10.1145\/3711896.3737159"},{"key":"e_1_2_1_75_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11704-025-41136-3"},{"key":"e_1_2_1_76_1","doi-asserted-by":"publisher","DOI":"10.14778\/3583140.3583165"},{"key":"e_1_2_1_77_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.acl-short.117"},{"key":"e_1_2_1_78_1","volume-title":"Miguel Terra-Neves, Vasco Manquinho, and Ruben Martins.","author":"Yang Aidan Z. H.","year":"2023","unstructured":"Aidan Z. H. Yang, Ricardo Brancas, Pedro Esteves, Sofia Aparicio, Joao Pedro Nadkarni, Miguel Terra-Neves, Vasco Manquinho, and Ruben Martins. 2023. On Repairing Natural Language to SQL Queries. arXiv preprint arXiv:2310.03866 (2023)."},{"key":"e_1_2_1_79_1","doi-asserted-by":"publisher","unstructured":"Arian Askari Christian Poelitz and Xinye Tang. 2025. MAGIC: generating self-correction guideline for in-context text-to-SQL. In Proceedings of the Thirty-Ninth AAAI Conference on Artificial Intelligence and Thirty-Seventh Conference on Innovative Applications of Artificial Intelligence and Fifteenth Symposium on Educational Advances in Artificial Intelligence (AAAI'25\/IAAI'25\/EAAI'25). Article 2613 9 pages. doi:10.1609\/aaai.v39i22.34511 10.1609\/aaai.v39i22.34511","DOI":"10.1609\/aaai.v39i22.34511"},{"key":"e_1_2_1_80_1","unstructured":"2026. MapleDoctor Artifact. https:\/\/github.com\/JaviS-Rei\/NL2SQL_Error_Empirical"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808171","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T18:28:08Z","timestamp":1782844088000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808171"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,30]]},"references-count":80,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2026,6,30]]}},"alternative-id":["10.1145\/3808171"],"URL":"https:\/\/doi.org\/10.1145\/3808171","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,30]]}}}