Spider

223 papers · 603 extracted observations · text to sql · code · Markdown · CSV · JSON API

Comparable Cohort Timeline (proposed/measured methods; excludes quoted baselines)

Proposed/measured results matching split=val.

12.641.770.9100.0201920232026SyntaxSQLNet: 18.9 (2019)GNN-SQL: 22.0 (2019)SyntaxSQLNet + DAE: 22.1 (2019)SyntaxSQLNet + Data Augmentation: 24.8 (2019)SyntaxSQLNetAug + DAE: 27.4 (2019)SyntaxSQLNet, SemQL output: 27.5 (2019)SyntaxSQLNet (BERT), SemQL output: 35.8 (2019)SyntaxSQLNet: 53.5 (2019)GNN-SQL: 57.0 (2019)SyntaxSQLNet + Data Augmentation: 61.9 (2019)RECPARSER: 39.3 (2020)RECPARSER (BERT): 46.8 (2020)CFGNN (ours, full model): 48.7 (2020)IRNet + PIIA(H): 52.7 (2020)EditSQL+Feedback (BERT-equipped): 53.73 (2020)RECPARSER: 54.3 (2020)IRNet + PIIA: 59.3 (2020)RECPARSER (BERT): 63.1 (2020)GNN + Bertrand-DR: 57.9 (2020)EditSQL + Bertrand-DR: 58.5 (2020)Base Parser: 56.4 (2021)Base Parser + DG-MAML: 58.5 (2021)RAT-SQL + NatSQL: 74.6 (2021)Turing + RoBERTa (best reported run): 75.1 (2021)S²SQL + ELECTRA: 76.4 (2022)LogicalBeam: 81.3 (2023)SuperSQL (GPT-4): 87.0 (2024)MTSQL: 75.6 (2024)Open-SQL (7B; same procedure as the BIRD experiments): 84.1 (2024)DataGpt-sql-7B: 84.8 (2024)DataGpt-sql-7B + Invalid-SQL Feedback: 87.2 (2024)PARSQL-3Bllm: 77.7 (2025)PARSQL-3Bllm: 83.8 (2025)SQL-of-Thought, W/o Error Correction (Claude 3 Opus): 85.0 (2025)SQLForge-LM: 85.7 (2025)SQL-of-Thought, W/o Query Plan Generation (Claude 3 Opus): 90.0 (2025)SQL-of-Thought (with Claude Opus 3): 91.59 (2025)SQL-of-Thought (Claude 3 Opus): 95.0 (2025)HHNAS-AM Model 1 (standalone RoBERTa): 91.02 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 94.76 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 97.11 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 97.66 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 97.78 (2025)HHNAS-AM Model 4 (RoBERTa with parallel CNNs for LLM and rule-based features): 98.21 (2025)MATS (9B): 87.1 (2025)SQL component pre-generation + AST matching reward (GRPO; Qwen2.5-Coder-7B-Instruct): 83.0 (2026)FINER-SQL 3B: 85.0 (2026)Progress-SQL-7B: 80.0 (2026)ORM-based BoN: 84.53 (2026)Progress-SQL-7B: 86.6 (2026)DecoSearch (DeepSeek backbone): 88.31 (2026)
Click any point on the timeline to inspect method, protocol, and paper.

Showing 36 of 36 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2026Qwen3-1.7B (zero-shot) baselineExecution accuracy (EX)62.9%split: val · 0-shot · params=1.7BSQLoom: Set-Contrastive Learning of Syntactic, Semantic, and Logical Dependencies for Text-to-SQL
Source quote
L45: Qwen3-1.7B from 62.9% zero-shot to 88.7% on Spider development,
2025Retrieved Schema (GPT-4o-mini) proposedSQL execution accuracy65.7split: val · 0-shot · model=GPT-4o-mini · schema-setting=retrieved-schemaRethinking Schema Linking: A Context-Aware Bidirectional Retrieval Approach for Text-to-SQL
Source quote
L526: Retrieved Schema │ {89.3} │ {71.1} │ {54.6} │ {33.7} │ 65.7 (\uparrow 1.2)
2025Retrieved Schema (Gemini-2.0-flash) proposedSQL execution accuracy70.6split: val · 0-shot · model=Gemini-2.0-flash · schema-setting=retrieved-schemaRethinking Schema Linking: A Context-Aware Bidirectional Retrieval Approach for Text-to-SQL
Source quote
L531: Retrieved Schema │ {88.8} │ {74.4} │ {64.4} │ {44.0} │ 70.6 (\uparrow 2.9)
2025Reward-SQL + Qwen2.5-7B + PRM@32 proposedEX81.7%0-shot · params=7B · samples=32 · backbone=Qwen2.5-7B · selection=PRMReward-SQL: Boosting Text-to-SQL via Stepwise Execution-Aware Reasoning and Process-Supervised Rewards
Source quote
L498: Reward-SQL\xspace + Qwen2.5-7B + PRM@32 │ 81.7
2025DeepEye-SQL with Qwen3-Coder-30B-A3B proposedexecution accuracy (EX)89.8%split: test · 0-shot · params=30B · backbone=Qwen3-Coder-30B-A3B · fine-tuning=noneDeepEye-SQL: A Software-Engineering-Inspired Text-to-SQL Framework
Source quote
L506: On the Spider-Test dataset, DeepEye-SQL\xspace with \texttt{Qwen3-Coder-30B-A3B} achieves an execution accuracy of 89.8%. This performance matches the best fine-tuned method, OmniSQL, and surpasses other strong competitors like XiYan-SQL (89.7%). This demonstrates that our prompting-based framework can attain the same level of accuracy as highly specialized, fine-tuned models on this foundational benchmark without incurring any training costs.
2025Coder–Aggregator, DeepSeek R1 Distill Qwen 14B Instruct aggregator with LARGE coders proposedEX75.10-shot · params=32B · pipeline=Coder-Aggregator · coder-set=LARGE: Qwen2.5-32B-Instruct; Qwen2.5-Coder-32B-Instruct; Gemma 3 27B IT · aggregator=DeepSeek R1 Distill Qwen 14B InstructBAPPA: Benchmarking Agents, Plans, and Pipelines for Automated Text-to-SQL Generation
Source quote
L291: DeepSeek R1 Distill Qwen 14B Instruct │ 73.8 │ 81.2 │ \multicolumn{1}{c|}{71.2} │ 74.6 │ 81.5 │ \multicolumn{1}{c|}{72.3} │ 75.1 │ 82.2 │ 72.4
2025Alpha-SQL (Qwen2.5-Coder-14B; SC Selection) proposedExecution Accuracy; All difficulty levels87.0%split: val · 0-shot · params=14B · backbone=Qwen2.5-Coder-14B · rollouts=24 · selection=SCAlpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search
Source quote
L331: Alpha-SQL (Ours) │ Qwen2.5-Coder-14B │ SC Selection │ \textcolor{green}{\ding{51}} │ 94.0 │ 91.0 │ 79.9 │ 72.3 │ 87.0
2025Reward-SQL + Qwen2.5-7B + Greedy ablationEX77.0%0-shot · params=7B · backbone=Qwen2.5-7B · decoding=greedyReward-SQL: Boosting Text-to-SQL via Stepwise Execution-Aware Reasoning and Process-Supervised Rewards
Source quote
L497: Reward-SQL\xspace + Qwen2.5-7B + Greedy │ 77.0
2025Imperative approach baselineaccuracy0.8160-shot · api-calls=0%Declarative Techniques for NL Queries over Heterogeneous Data
Source quote
L210: Without any APIs (at 0%), the Imperative approach outperforms the other approaches, achieving an accuracy of 0.816, which is comparable to state-of-the-art open-source LLMs on zero-shot evaluation.\footnote{See https://yale-lily.github.io/spider.} As the proportion of API calls increases, the accuracies of the Agentic and Declarative systems decrease monotonically, albeit much more steeply for Agentic than for Declarative. In contrast, the accuracy of the Imperative approach is {\em not} monotonic; it struggles most when the mixture of API and DB calls is roughly even. Error analysis reveals that, under these conditions, the complexity of the python code generated by Imperative is the greatest, and its accuracy is impaired by programming errors that arise when stitching together API calls and DB queries (typically inconsistent variable use).
2024gpt-3.5-turbo-16k (zero-shot with prompt alignment and database schema format) proposedexecution accuracy68.2%0-shot · model=gpt-3.5-turbo-16k · prompting=C3-based prompt alignment and schema formatAnalyzing the Effectiveness of Large Language Models on Text-to-SQL Synthesis
Source quote
L32: In preliminary trials, conducted without a clear database context and prompt alignment, and conducted mainly for comparison with Spider Skeleton Wizard Coder, the execution accuracy stood at 57.6%. The transition from open-source to closed-source methodologies marked the adoption of more robust strategies for OpenAI's models akin to those in C3 \cite{dong2023c3}. This approach, within a zero-shot framework, achieved an execution accuracy of 68.2%.
2024LLaMA3-8B with AC-SQL, AC (+) (standard AC-SQL with both Critics) proposedEX (execution accuracy)67.7%split: val · 0-shot · params=8B · backbone=LLaMA3-8BAn Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
Source quote
L370: {LLaMA3-8B} │ 32.6 │ 60.6 │ 48.0 │ 67.7
2024GPT-3.5 with AC-SQL, AC (+) (standard AC-SQL with both Critics) proposedEX (execution accuracy)70.4%split: val · 0-shot · backbone=GPT-3.5An Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
Source quote
L378: {GPT-3.5} │ 58.8 │ 66.5 │ 65.1 │ 70.4
2024GPT-4o with AC-SQL, AC (+) (standard AC-SQL with both Critics) proposedEX (execution accuracy)77.7%split: val · 0-shot · backbone=GPT-4oAn Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
Source quote
L379: {GPT-4o} │ 72.1 │ 77.3 │ 77.1 │ 77.7
2024SCVSQL+GPT4-turbo proposedexecution accuracy (EA)0.824split: val · 0-shot · backbone=GPT-4-turboSQL-to-Schema Enhances Schema Linking in Text-to-SQL
Source quote
L206: SCVSQL+GPT4-turbo │ zeroshot │ 0.824
2024LLaMA3-8B with AC-SQL, AC (-) (without any Critic) ablationEX (execution accuracy)32.6%split: val · 0-shot · params=8B · backbone=LLaMA3-8BAn Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
Source quote
L370: {LLaMA3-8B} │ 32.6 │ 60.6 │ 48.0 │ 67.7
2024GPT-3.5 with AC-SQL, AC (-) (without any Critic) ablationEX (execution accuracy)58.8%split: val · 0-shot · backbone=GPT-3.5An Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
Source quote
L378: {GPT-3.5} │ 58.8 │ 66.5 │ 65.1 │ 70.4
2024GPT-4o with AC-SQL, AC (-) (without any Critic) ablationEX (execution accuracy)72.1%split: val · 0-shot · backbone=GPT-4oAn Actor-Critic Approach to Boosting Text-to-SQL Large Language Model
Source quote
L379: {GPT-4o} │ 72.1 │ 77.3 │ 77.1 │ 77.7
2024gpt-3.5-turbo-16k (zero-shot, without clear database context or prompt alignment) baselineexecution accuracy57.6%0-shot · model=gpt-3.5-turbo-16k · prompting=no clear database context or prompt alignmentAnalyzing the Effectiveness of Large Language Models on Text-to-SQL Synthesis
Source quote
L32: In preliminary trials, conducted without a clear database context and prompt alignment, and conducted mainly for comparison with Spider Skeleton Wizard Coder, the execution accuracy stood at 57.6%. The transition from open-source to closed-source methodologies marked the adoption of more robust strategies for OpenAI's models akin to those in C3 \cite{dong2023c3}. This approach, within a zero-shot framework, achieved an execution accuracy of 68.2%.
2024MSFT (#1) baselineEX83.6split: val · 0-shotROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL
Source quote
L506: No. │ Settings │ EX │ EX │ Table-R/P │ Column-R/P │ Table-R/P │ Column-R/P │ EX │ EX │ EX │ EX \#1 │ MSFT │ 83.6 │ 53.6 │ 97.38/95.71 │ 98.59/96.98 │ 90.87/90.22 │ 96.13/90.89 │ 83.4 │ 53.4 │ 91.1 │ 73.9
2024Llama3 w/o SFT (#10) baselineEX69.3split: val · 0-shotROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL
Source quote
L515: \#10 │ Llama3 w/o SFT │ 69.3 │ 32.1 │ 88.35/76.37 │ 94.83/91.46 │ 83.77/75.38 │ 89.55/86.39 │ 72.1 │ 38.1 │ 80.3 │ 57.6 }
2023Codex — CreateTable+SelectRow 3 proposedperformance74.10-shot · model=Codex · prompt=CreateTable+SelectRow 3How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settings
Source quote
L581: \texttt{CreateTable+SelectRow 3} │ 74.1 │ 73.4 │ 77.3 │ 80.5 │ 82.9
2023C3 proposedexecution accuracy82.3%split: test · 0-shotC3: Zero-shot Text-to-SQL with ChatGPT
Source quote
L4: This paper proposes a ChatGPT-based zero-shot Text-to-SQL method, dubbed C3, which achieves 82.3% in terms of execution accuracy on the holdout test set of Spider and becomes the state-of-the-art zero-shot Text-to-SQL method on the Spider Challenge. C3 consists of three key components: Clear Prompting (CP), Calibration with Hints (CH), and Consistent Output (CO), which are corresponding to the model input, model bias and model output respectively. It provides a systematic treatment for zero-shot Text-to-SQL. Extensive experiments have been conducted to verify the effectiveness and efficiency of our proposed method. Our code is available at \href{https://github.com/bigbigwatermalon/C3SQL}{https://github.com/bigbigwatermalon/C3SQL}
2023ChatGPT baselineexecution accuracy70.1%0-shotStructGPT: A General Framework for Large Language Model to Reason over Structured Data
Source quote
L291: ChatGPT │ 70.1 │ 58.6 │ 63.4
2023Codex — Columns=[] baselineperformance71.80-shot · model=Codex · prompt=schema-onlyHow to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settings
Source quote
L163: Our experiments indicate that table relationships and content are important. The \texttt{Columns=[]} prompt includes only the table schema, while the \texttt{Columns=[]+ForeignKey} prompt contains the additional relationship among tables shown as foreign keys. Including such information improves the performance of both Codex (71.8 -> 73.1) and ChatGPT (69.1 -> 71.2).
2023ChatGPT — Columns=[] baselineperformance69.10-shot · model=ChatGPT · prompt=schema-onlyHow to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settings
Source quote
L163: Our experiments indicate that table relationships and content are important. The \texttt{Columns=[]} prompt includes only the table schema, while the \texttt{Columns=[]+ForeignKey} prompt contains the additional relationship among tables shown as foreign keys. Including such information improves the performance of both Codex (71.8 -> 73.1) and ChatGPT (69.1 -> 71.2).
2023Codex — CreateTable baselineperformance73.10-shot · model=Codex · prompt=CreateTableHow to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settings
Source quote
L578: \texttt{CreateTable} │ 73.1 │ 72.4 │ 76.0 │ 78.7 │ 81.3
2023ChatGPT baselineEX (execution accuracy)70.1split: val · 0-shotA comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capability
Source quote
L44: ChatGPT │ 97.7 │ 70.1(14\downarrow) │ 60.1 │ 96.2 │ 58.6(18.3\downarrow) │ 48.5 │ 96.8 │ 63.4(18.5 \downarrow) │ 49.2
2022SFNet proposedFWT45.90-shot · task-stream=10-taskLearn from Yesterday: A Semi-supervised Continual Learning Method for Supervision-Limited Text-to-SQL Task Streams
Source quote
L226: SFNet │ 56.0 │ 54.1 │ -1.0 │ 45.9 │ 73.6 │ 73.3 │ -2.3 │ 65.6
2022T0-3B, zero-shot baselineMatch0.00split: val · 0-shot · params=3B · backbone=T0-3B · instructions=natural-language task instructionsUnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models
Source quote
L696: 0.00
2022Codex (most probable SQL according to p0) baseline non-standard slice1-best accuracy0.59split: val · 0-shot · subset=240 utterances · prediction=top-1Non-Programmers Can Label Programs Indirectly via Active Examples: A Case Study with Text-to-SQL
Source quote
L904: Codex │ 0.78 │ 0.65 │ 0.43 │ 0.36 │ 0.59
2021H-NeurSyn (Ours(train+dev)) proposedExact Match (EM) accuracy77.2%split: val · 0-shot · augmentation-data=train+devHierarchical Neural Data Synthesis for Semantic Parsing
Source quote
L206: On the developement set, without zero-shot augmentation, we achieve 76.4 (``Ours(train)"), while 77.2 with it (``Ours(train+dev)"). Note that, our number on the test set could be even higher if we apply the zero-shot version because the test domain schema is available to the inference model. In practice, due to the compute-time limitation of the evaluation script, we cannot apply zero-shot augmentation. However, we believe it is relevant for bootstrapping semantic parsers in real-world applications, so the improvements on the developement set holds practical significance.
2021H-NeurSyn (Ours(train)) proposedExact Match (EM) accuracy76.4%split: val · 0-shot · augmentation-data=trainHierarchical Neural Data Synthesis for Semantic Parsing
Source quote
L206: On the developement set, without zero-shot augmentation, we achieve 76.4 (``Ours(train)"), while 77.2 with it (``Ours(train+dev)"). Note that, our number on the test set could be even higher if we apply the zero-shot version because the test domain schema is available to the inference model. In practice, due to the compute-time limitation of the evaluation script, we cannot apply zero-shot augmentation. However, we believe it is relevant for bootstrapping semantic parsers in real-world applications, so the improvements on the developement set holds practical significance.
2021T5-3B (database content) proposedEM (exact-set-match accuracy)68.0%split: test · 0-shot · params=3B · backbone=T5-3B · beam-size=4 · database-content=enabledPICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models
Source quote
L310: T5-3B^\dagger │ 71.5 │ 74.4 │ 68.0 │ 70.1
2021T5-3B (database content) proposedEX (execution accuracy)70.1%split: test · 0-shot · params=3B · backbone=T5-3B · beam-size=4 · database-content=enabledPICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models
Source quote
L310: T5-3B^\dagger │ 71.5 │ 74.4 │ 68.0 │ 70.1
2020Baseline (forward parser without adaptation) ablationEX55.4split: val · 0-shotGrounded Adaptation for Zero-shot Executable Semantic Parsing
Source quote
L407: \multicolumn{1}{l}{EM} │ \multicolumn{1}{l}{EX} │ \# syn │ \multicolumn{1}{l}{EM} │ \multicolumn{1}{l}{EX} │ \# syn │ \multicolumn{1}{l}{EM} │ \multicolumn{1}{l}{EX} │ \# syn Baseline │ 56.8 │ 55.4 │ 40557 │ 46.4 │ 44.0 │ 45221 │ 39.3 │ 36.6 │ 33559
2019GNN proposedaccuracy39.4%split: test · 0-shotRepresenting Schema Structure with Graph Neural Networks for Text-to-SQL Parsing
Source quote
L132: Our full model (GNN) obtains 39.4% accuracy on the test set, substantially higher than prior state-of-the-art (SyntaxSQLNet), which is at 19.7%. Removing the GNN from the parser (No GNN), which results in the parser of \newcite{krishnamurthy2017neural}, augmented with a grammar for SQL, obtains an accuracy of 33.8%, showing the importance of encoding the schema structure.