Evaluating the Text-to-SQL Capabilities of Large Language Models
Not on the map. Why?
Abstract (arXiv)
We perform an empirical evaluation of Text-to-SQL capabilities of the Codex language model. We find that, without any finetuning, Codex is a strong baseline on the Spider benchmark; we also analyze the failure modes of Codex in this setting. Furthermore, we demonstrate on the GeoQuery and Scholar benchmarks that a small number of in-domain examples provided in the prompt enables Codex to perform better than state-of-the-art models finetuned on such few-shot examples.
Key facts. Cited by 101 papers in the map (data through 7 Oct 2026). Builds on 10 of its 23 references that are in the map. First posted on arXiv 15 Mar 2022.
Builds on
10 of 23 references.
References · 10
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
- 2018Improving Text-to-SQL Evaluation Methodologycited by 133
- 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 133
- 2020Structure-Grounded Pretraining for Text-to-SQLcited by 126
- 2020Semantic Evaluation for Text-to-SQL with Distilled Test Suitescited by 123
- 2017Learning a Neural Semantic Parser from User Feedbackcited by 98
Built on by
Citing papers per year: 2022: 11; 2023: 36; 2024: 21; 2025: 24; 2026: 9.
101 papers.
Sort:
By area:
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
- 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 378
- 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
- 2022Binding Language Models in Symbolic Languagescited by 224
- 2024Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understandingcited by 185
- 2024CHESS: Contextual Harnessing for Efficient SQL Synthesiscited by 164
- 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 159
- 2022Large Language Models Meet NL2Code: A Surveycited by 135
- 2022Learning by Distilling Contextcited by 128
- 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 118
38 more
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 118
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scalecited by 90
- 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
- 2023Exploring Chain-of-Thought Style Prompting for Text-to-SQLcited by 69
- 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
- 2024Generating CAD Code with Vision-Language Models for 3D Designscited by 61
- 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
- 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 57
- 2023Why Does ChatGPT Fall Short in Providing Truthful Answers?cited by 54
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?cited by 54
- 2022A Survey on Text-to-SQL Parsing: Concepts, Methods, and Future Directionscited by 51
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2023Dr.Spider: A Diagnostic Evaluation Benchmark towards Text-to-SQL Robustnesscited by 50
- 2022In-Context Learning for Few-Shot Dialogue State Trackingcited by 47
- 2023Skill-Based Few-Shot Selection for In-Context Learningcited by 46
- 2023Large Language Models and Simple, Stupid Bugscited by 45
- 2023Enhancing Few-shot Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategiescited by 44
- 2023SQL-PaLM: Improved Large Language Model Adaptation for Text-to-SQL (extended)cited by 42
- 2025SciReplicate-Bench: Benchmarking LLMs in Agent-driven Algorithmic Reproduction from Research Paperscited by 42
- 2023On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codexcited by 41
- 2024TableRAG: Million-Token Table Understanding with Language Modelscited by 40
- 2024PURPLE: Making a Large Language Model a Better SQL Writercited by 34
- 2022XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsingcited by 32
- 2023Natural Language Interfaces for Tabular Data Querying and Visualization: A Surveycited by 27
- 2023Interleaving Pre-Trained Language Models and Large Language Models for Zero-Shot NL2SQL Generationcited by 24
- 2023L2CEval: Evaluating Language-to-Code Generation Capabilities of Large Language Modelscited by 22
- 2023Selective Demonstrations for Cross-domain Text-to-SQLcited by 21
- 2024H-STAR: LLM-driven Hybrid SQL-Text Adaptive Reasoning on Tablescited by 21
- 2023Divide and Prompt: Chain of Thought Prompting for Text-to-SQLcited by 20
- 2024Tree-of-Table: Unleashing the Power of LLMs for Enhanced Large-Scale Table Understandingcited by 20
- 2024Interpretable LLM-based Table Question Answeringcited by 18
- 2025TableMaster: A Recipe to Advance Table Understanding with Language Modelscited by 18
- 2024Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translationcited by 17
- 2023Prompting GPT-3.5 for Text-to-SQL with De-semanticization and Skeleton Retrievalcited by 16
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQLcited by 16
- 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systemscited by 15
- 2023UNITE: A Unified Benchmark for Text-to-SQL Evaluationcited by 14
- 2024ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQLcited by 13
50 most cited of 101 All 101 (JSON)
- 2026REALMS: An AI-Assistant Conversational System for Real-Time Exact Audience Sizing over High-Dimensional Nested Profiles24 Sep 2026
- 2026Build2SPARQL: A Large-Scale Text-to-SPARQL Benchmark Dataset for Building Knowledge Graph Querying22 Sep 2026
- 2026Oculi: A Conversational Agentic Platform for Automated Credit Risk Analysis28 Aug 2026
- 2026ProgramTab: Boosting Table Reasoning of LLMs via Programmatic Paradigm13 Jul 2026
- 2026OmniRetrieval: Unified Retrieval across Heterogeneous Knowledge Sources28 May 2026
- 2026The Power of Order: Fooling LLMs with Adversarial Table Permutations1 May 2026
- 2026CFMS: A Coarse-to-Fine Multimodal Synthesis Framework for Enhanced Tabular Reasoning13 Apr 2026
- 2026Reasoner-Executor-Synthesizer: Scalable Agentic Architecture with Static O(1) Context Window23 Mar 2026
- 2026Monte Carlo Tree Search with Reasoning Path Refinement for Small Language Models in Conversational Text-to-NoSQL13 Feb 2026
- 2025Bridging Global Intent with Local Details: A Hierarchical Representation Approach for Semantic Validation in Text-to-SQL28 Dec 2025
- 2025Knowledge Distillation with Structured Chain-of-Thought for Text-to-SQL18 Dec 2025
- 2025RAG-Driven Data Quality Governance for Enterprise ERP Systems18 Nov 2025
38 more
- 2025SCARE: A Benchmark for SQL Correction and Question Answerability Classification for Reliable EHR Question Answering13 Nov 2025
- 2025Prompt Tuning for Natural Language to SQL with Embedding Fine-Tuning and RAG11 Nov 2025
- 2025GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language Models5 Nov 2025
- 2025Jackal: A Real-World Execution-Based Benchmark Evaluating Large Language Models on Text-to-JQL Tasks28 Sep 2025
- 2025Improving Table Understanding with LLMs and Entity-Oriented Search23 Aug 2025
- 2025End-to-End Text-to-SQL with Dataset Selection: Leveraging LLMs for Adaptive Query Generation8 Aug 2025
- 2025Harnessing Temporal Databases for Systematic Evaluation of Factual Time-Sensitive Question-Answering in Large Language Models4 Aug 2025
- 2025Chatting with your ERP: A Recipe31 Jul 2025
- 2025Text2VectorSQL: Towards a Unified Interface for Vector Search and SQL Queries29 Jun 2025
- 2025Exploring the Landscape of Text-to-SQL with Large Language Models: Progresses, Challenges and Opportunities28 May 2025
- 2025Meta-aware Learning in text-to-SQL Large Language Model25 May 2025
- 2025Decentralized Arena: Towards Democratic and Scalable Automatic Evaluation of Language Models19 May 2025
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation18 Apr 2025
- 2025LearNAT: Learning NL2SQL with AST-guided Task Decomposition for Large Language Models3 Apr 2025
- 2025SciReplicate-Bench: Benchmarking LLMs in Agent-driven Algorithmic Reproduction from Research Papers31 Mar 2025
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale4 Mar 2025
- 2025Generating patient cohorts from electronic health records using two-step retrieval-augmented text-to-SQL generation28 Feb 2025
- 2025Independent Mobility GPT (IDM-GPT): A Self-Supervised Multi-Agent Large Language Model Framework for Customized Traffic Mobility Analysis Using Machine Learning Models25 Feb 2025
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQL19 Feb 2025
- 2025Grounding LLM Reasoning with Knowledge Graphs18 Feb 2025
- 2025TableMaster: A Recipe to Advance Table Understanding with Language Models31 Jan 2025
- 2024Interpretable LLM-based Table Question Answering16 Dec 2024
- 2024ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL13 Dec 2024
- 2024Leveraging Prior Experience: An Expandable Auxiliary Knowledge Base for Text-to-SQL20 Nov 2024
- 2024Tree-of-Table: Unleashing the Power of LLMs for Enhanced Large-Scale Table Understanding13 Nov 2024
- 2024Grounding Natural Language to SQL Translation with Data-Based Self-Explanations5 Nov 2024
- 2024Generating CAD Code with Vision-Language Models for 3D Designs7 Oct 2024
- 2024TableRAG: Million-Token Table Understanding with Language Models7 Oct 2024
- 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systems1 Oct 2024
- 2024DataGpt-SQL-7B: An Open-Source Language Model for Text-to-SQL24 Sep 2024
- 2024A Survey of Text-to-SQL in the Era of LLMs: Where are we, and where are we going?9 Aug 2024
- 2024A Survey on Employing Large Language Models for Text-to-SQL Tasks21 Jul 2024
- 2024H-STAR: LLM-driven Hybrid SQL-Text Adaptive Reasoning on Tables29 Jun 2024
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL12 Jun 2024
- 2024CHESS: Contextual Harnessing for Efficient SQL Synthesis27 May 2024
- 2024PURPLE: Making a Large Language Model a Better SQL Writer29 Mar 2024
- 2024Couler: Unified Machine Learning Workflow Optimization in Cloud12 Mar 2024
- 2024Exploring the Potential of Large Language Models for Improving Digital Forensic Investigation Efficiency29 Feb 2024
50 newest of 101 All 101 (JSON)
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
- 2024Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understandingcited by 185
- 2023Exploring Chain-of-Thought Style Prompting for Text-to-SQLcited by 69
- 2024H-STAR: LLM-driven Hybrid SQL-Text Adaptive Reasoning on Tablescited by 21
- 2023Divide and Prompt: Chain of Thought Prompting for Text-to-SQLcited by 20
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQLcited by 16
- 2025Grounding LLM Reasoning with Knowledge Graphscited by 7
- 2026CFMS: A Coarse-to-Fine Multimodal Synthesis Framework for Enhanced Tabular Reasoningcited by 2
- 2025Knowledge Distillation with Structured Chain-of-Thought for Text-to-SQLcited by 0
- 2026Monte Carlo Tree Search with Reasoning Path Refinement for Small Language Models in Conversational Text-to-NoSQLcited by 0
- 2026Reasoner-Executor-Synthesizer: Scalable Agentic Architecture with Static O(1) Context Windowcited by 0
12 most cited of 13 All 13 (JSON)
- 2026ProgramTab: Boosting Table Reasoning of LLMs via Programmatic Paradigm13 Jul 2026
- 2026CFMS: A Coarse-to-Fine Multimodal Synthesis Framework for Enhanced Tabular Reasoning13 Apr 2026
- 2026Reasoner-Executor-Synthesizer: Scalable Agentic Architecture with Static O(1) Context Window23 Mar 2026
- 2026Monte Carlo Tree Search with Reasoning Path Refinement for Small Language Models in Conversational Text-to-NoSQL13 Feb 2026
- 2025Knowledge Distillation with Structured Chain-of-Thought for Text-to-SQL18 Dec 2025
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQL19 Feb 2025
- 2025Grounding LLM Reasoning with Knowledge Graphs18 Feb 2025
- 2024H-STAR: LLM-driven Hybrid SQL-Text Adaptive Reasoning on Tables29 Jun 2024
- 2024Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understanding9 Jan 2024
- 2023Exploring Chain-of-Thought Style Prompting for Text-to-SQL23 May 2023
- 2023Divide and Prompt: Chain of Thought Prompting for Text-to-SQL23 Apr 2023
- 2023Teaching Large Language Models to Self-Debug11 Apr 2023
12 newest of 13 All 13 (JSON)
- 2022XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsingcited by 32
- 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systemscited by 15
- 2023Retrieval-augmented GPT-3.5-based Text-to-SQL Framework with Sample-aware Prompting and Dynamic Revision Chaincited by 12
- 2023Diverse Retrieval-Augmented In-Context Learning for Dialogue State Trackingcited by 10
- 2025Generating patient cohorts from electronic health records using two-step retrieval-augmented text-to-SQL generationcited by 4
- 2025Generating patient cohorts from electronic health records using two-step retrieval-augmented text-to-SQL generation28 Feb 2025
- 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systems1 Oct 2024
- 2023Retrieval-augmented GPT-3.5-based Text-to-SQL Framework with Sample-aware Prompting and Dynamic Revision Chain11 Jul 2023
- 2023Diverse Retrieval-Augmented In-Context Learning for Dialogue State Tracking4 Jul 2023
- 2022XRICL: Cross-lingual Retrieval-Augmented In-Context Learning for Cross-lingual Text-to-SQL Semantic Parsing25 Oct 2022
- 2025SciReplicate-Bench: Benchmarking LLMs in Agent-driven Algorithmic Reproduction from Research Paperscited by 42
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generationcited by 6
- 2025Independent Mobility GPT (IDM-GPT): A Self-Supervised Multi-Agent Large Language Model Framework for Customized Traffic Mobility Analysis Using Machine Learning Modelscited by 2
- 2026Oculi: A Conversational Agentic Platform for Automated Credit Risk Analysiscited by 0
- 2026Oculi: A Conversational Agentic Platform for Automated Credit Risk Analysis28 Aug 2026
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation18 Apr 2025
- 2025SciReplicate-Bench: Benchmarking LLMs in Agent-driven Algorithmic Reproduction from Research Papers31 Mar 2025
- 2025Independent Mobility GPT (IDM-GPT): A Self-Supervised Multi-Agent Large Language Model Framework for Customized Traffic Mobility Analysis Using Machine Learning Models25 Feb 2025
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 667
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
- 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 378
- 2022Binding Language Models in Symbolic Languagescited by 224
- 2024CHESS: Contextual Harnessing for Efficient SQL Synthesiscited by 164
- 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 159
- 2022Large Language Models Meet NL2Code: A Surveycited by 135
- 2022Learning by Distilling Contextcited by 128
- 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 118
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 118
- 2025OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scalecited by 90
- 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
12 most cited of 79 All 79 (JSON)
- 2026REALMS: An AI-Assistant Conversational System for Real-Time Exact Audience Sizing over High-Dimensional Nested Profiles24 Sep 2026
- 2026Build2SPARQL: A Large-Scale Text-to-SPARQL Benchmark Dataset for Building Knowledge Graph Querying22 Sep 2026
- 2026OmniRetrieval: Unified Retrieval across Heterogeneous Knowledge Sources28 May 2026
- 2026The Power of Order: Fooling LLMs with Adversarial Table Permutations1 May 2026
- 2025Bridging Global Intent with Local Details: A Hierarchical Representation Approach for Semantic Validation in Text-to-SQL28 Dec 2025
- 2025RAG-Driven Data Quality Governance for Enterprise ERP Systems18 Nov 2025
- 2025SCARE: A Benchmark for SQL Correction and Question Answerability Classification for Reliable EHR Question Answering13 Nov 2025
- 2025Prompt Tuning for Natural Language to SQL with Embedding Fine-Tuning and RAG11 Nov 2025
- 2025GEMMA-SQL: A Novel Text-to-SQL Model Based on Large Language Models5 Nov 2025
- 2025Jackal: A Real-World Execution-Based Benchmark Evaluating Large Language Models on Text-to-JQL Tasks28 Sep 2025
- 2025Improving Table Understanding with LLMs and Entity-Oriented Search23 Aug 2025
- 2025End-to-End Text-to-SQL with Dataset Selection: Leveraging LLMs for Adaptive Query Generation8 Aug 2025
12 newest of 79 All 79 (JSON)