LLMSQL: Upgrading WikiSQL for the LLM Era of Text-to-SQL
Not on the map. Why?
Abstract (arXiv)
Converting natural language questions into SQL queries enables non-expert users to interact with relational databases and has long been a central task for natural language interfaces to data. While the WikiSQL dataset played a key role in early text-to-SQL research, its usage has declined due to structural and annotation issues, including case sensitivity inconsistencies, data type mismatches, syntax errors, and unanswered questions. We present LLMSQL, a systematic revision and transformation of WikiSQL designed for the large language model era. We classify these errors and implement automated methods for cleaning and re-annotation. To assess the impact of these improvements, we evaluated multiple large language models, including Gemma 3, LLaMA 3.2, Mistral 7B, gpt-oss 20B, Phi-3.5 Mini, Qwen 2.5, OpenAI o4-mini, DeepSeek-R1, and others. Notably, DeepSeek-R1 achieves 88.40% accuracy in a zero-shot setting, and models under 10B parameters surpass 90% accuracy after fine-tuning. Rather than serving as an update, LLMSQL is introduced as an LLM-ready benchmark. Unlike the original WikiSQL, which was tailored for pointer-network models selecting tokens from input, LLMSQL provides clean natural language questions and full SQL queries as plain text, enabling straightforward generation and evaluation for modern natural-language-to-SQL models.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 30 references that are in the map. First posted on arXiv 27 Sep 2025.
Builds on
17 of 30 references.
References · 17
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2024Qwen2.5 Technical Reportcited by 4,942
- 2023Mistral 7Bcited by 3,164
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2025Gemma 3 Technical Reportcited by 1,824
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
- 2017SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learningcited by 135
- 2018Improving Text-to-SQL Evaluation Methodologycited by 135
- 2019A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualizationcited by 88
- 2018TypeSQL: Knowledge-based Type-Aware Neural Text-to-SQL Generationcited by 81
5 more
- 2018Robust Text-to-SQL Generation with Execution-Guided Decodingcited by 52
- 2024Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmarkcited by 34
- 2024SQLBench: A Comprehensive Evaluation for Text-to-SQL Capabilities of Large Language Modelscited by 32
- 2021SeaD: End-to-end Text-to-SQL Generation with Schema-aware Denoisingcited by 27
- 2023UNITE: A Unified Benchmark for Text-to-SQL Evaluationcited by 14
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025SLM-SQL: An Exploration of Small Language Models for Text-to-SQL
- 2025Automating SPARQL Query Translations between DBpedia and Wikidata
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale
- 2024Open-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language Models
- 2024Lucy: Think and Reason to Solve Text-to-SQL
- 2025SQLForge: Synthesizing Reliable and Diverse Data to Enhance Text-to-SQL Reasoning in LLMs
- 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systems
- 2024Evaluating and Enhancing LLMs for Multi-turn Text-to-SQL with Multiple Question Types