Pith. sign in

REVIEW 33 cited by

C3: Zero-shot Text-to-SQL with ChatGPT

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2307.07306 v1 pith:CGYV3CD7 submitted 2023-07-14 cs.CL cs.AI

C3: Zero-shot Text-to-SQL with ChatGPT

classification cs.CL cs.AI
keywords text-to-sqlzero-shotmethodmodeloutputspideraccuracyachieves
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

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.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 33 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. ExCyTIn-Bench: Evaluating LLM agents on Cyber Threat Investigation

    cs.CR 2025-07 unverdicted novelty 8.0

    ExCyTIn-Bench is the first benchmark of 7542 questions from Microsoft Sentinel threat investigation graphs, where the best LLM agent achieves a reward of 0.606.

  2. A Semantic-Layer-Mediated Agent for Natural Language to SQL over Heterogeneous Enterprise Databases

    cs.CL 2026-06 unverdicted novelty 7.0

    A semantic-layer-mediated NL2SQL agent using SMQ achieves 94.15% execution accuracy on the 547-task Spider2-snow benchmark with Gemini 3 Pro.

  3. Data Agents Under Attack: Vulnerabilities in LLM-Driven Analytical Systems

    cs.CR 2026-06 unverdicted novelty 7.0

    The paper introduces a layered vulnerability framework and attack taxonomy for LLM-driven data agents and demonstrates attacks on four open-source and two production systems.

  4. ACE-SQL: Adaptive Co-Optimization via Empirical Credit Assignment for Text-to-SQL

    cs.CL 2026-06 unverdicted novelty 7.0

    ACE-SQL jointly optimizes schema linking and SQL generation via RL with empirical credit assignment from execution-correct rollouts, achieving 65.3% greedy execution accuracy on BIRD Dev using 0.93k output tokens.

  5. EntSQL: A Benchmark for Grounding Text-to-SQL in Long-Context Enterprise Knowledge

    cs.CL 2026-06 unverdicted novelty 7.0

    EntSQL is a new benchmark with 1,066 examples across five domains where top systems reach only 15.9% accuracy on English inputs when long-form enterprise documents are provided.

  6. Residual Skill Optimization for Text-to-SQL Ensembles

    cs.CL 2026-05 unverdicted novelty 7.0

    Residual skill optimization creates complementary Text-to-SQL agents by training each new skill on prior ensemble failures, yielding accuracy gains on Spider2-Lite and transfer to other dialects and tasks.

  7. EXPO-SQL: Execution-based Clause-level Policy Optimization for Text-to-SQL

    cs.CL 2026-04 unverdicted novelty 7.0

    EXPO-SQL improves Text-to-SQL by using clause-level rewards derived from execution error messages and incremental clause execution instead of uniform query-level rewards.

  8. ROSE: An Intent-Centered Evaluation Metric for NL2SQL

    cs.DB 2026-04 unverdicted novelty 7.0

    ROSE is an intent-centered NL2SQL metric using an adversarial Prover-Refuter cascade that achieves higher human-expert agreement than prior metrics on a new validation set.

  9. NL2SQLBench: A Modular Benchmarking Framework for LLM-Enabled NL2SQL Solutions

    cs.DB 2026-04 conditional novelty 7.0

    NL2SQLBench is a new modular benchmarking framework that evaluates LLM NL2SQL methods across three core modules on existing datasets, exposing large accuracy gaps and computational inefficiency.

  10. Large Language Model-Enhanced Relational Operators: Taxonomy, Benchmark, and Analysis

    cs.DB 2026-03 unverdicted novelty 7.0

    The authors define a taxonomy for LLM-enhanced relational operators categorized into Select, Match, Impute, Cluster and Order, and release LROBench to evaluate single and multi-operator queries on semantic database pr...

  11. Database Context Compression for Text-to-SQL on Real-World Large Databases

    cs.DB 2026-06 unverdicted novelty 6.0

    DBCC applies SGCF-based offline compression and online purification to shrink database context by up to 100x while raising schema recall and execution accuracy 1.8-1.9% on Spider 2.0 and BIRD.

  12. SQLConductor: Search-to-Policy Learning for Step-wise Text-to-SQL Orchestration

    cs.DB 2026-06 unverdicted novelty 6.0

    SQLConductor uses Search-to-Policy Learning with MCTS, stability-weighted SFT, and curriculum RL to train a compact policy for adaptive step-wise Text-to-SQL orchestration, reporting 73.2% EX on BIRD-Dev.

  13. ZAS-SQL: Distilling Rules from Failures for Zero-Shot Text-to-SQL

    cs.CL 2026-06 unverdicted novelty 6.0

    ZAS-SQL distills rules from zero-shot Text-to-SQL failures to reach 87.2-88.6% execution accuracy on Spider, new zero-shot SOTA surpassing some GPT-4 few-shot and fine-tuned baselines.

  14. EvoSQL: Memory-Augmented Critic-Generator Co-Evolution for Text-to-SQL

    cs.AI 2026-06 conditional novelty 6.0

    A generator-critic co-evolution loop with per-question memory lifts Text-to-SQL execution accuracy by up to +9.19 points over majority-vote baselines on Spider and BIRD.

  15. EntSQL: A Benchmark for Grounding Text-to-SQL in Long-Context Enterprise Knowledge

    cs.CL 2026-06 unverdicted novelty 6.0

    EntSQL benchmarks long-context enterprise Text-to-SQL and finds the best system reaches only 15.9% accuracy on English with full documents.

  16. EntSQL: A Benchmark for Grounding Text-to-SQL in Long-Context Enterprise Knowledge

    cs.CL 2026-06 unverdicted novelty 6.0

    EntSQL shows current systems reach only 15.9% accuracy when Text-to-SQL must ground in long enterprise business documents rather than schema alone.

  17. EviLink: Multi-Path Schema Linking with Uncertainty-Guided Evidence Acquisition for Large-Scale Text-to-SQL

    cs.CL 2026-05 unverdicted novelty 6.0

    EviLink combines multi-hypothesis schema grounding with uncertainty-guided evidence acquisition, reporting 90.15% field-level recall and 123.30K average tokens on Spider2-Snow while improving downstream SQL generation.

  18. EGREFINE: An Execution-Grounded Optimization Framework for Text-to-SQL Schema Refinement

    cs.DB 2026-05 unverdicted novelty 6.0

    EGRefine optimizes column renamings via execution-grounded verification and view materialization to recover Text-to-SQL accuracy lost to schema naming issues while guaranteeing query equivalence.

  19. PiLLar: Matching for Pivot Table Schema via LLM-guided Monte-Carlo Tree Search

    cs.DB 2026-04 unverdicted novelty 6.0

    PiLLar is the first LLM-guided Monte-Carlo Tree Search framework for joint schema-value matching on pivot tables, achieving 87.94% average accuracy on a new benchmark PTbench derived from real-world domains.

  20. SQL Query Engine: A Self-Healing LLM Pipeline for Natural Language to PostgreSQL Translation

    cs.DB 2026-04 unverdicted novelty 6.0

    A self-healing LLM pipeline for natural language to PostgreSQL translation achieves up to 9.3 percentage point accuracy gains on benchmarks through error diagnosis and anti-regression mechanisms.

  21. AV-SQL: Decomposing Complex Text-to-SQL Queries with Agentic Views

    cs.DB 2026-04 unverdicted novelty 6.0

    AV-SQL uses a pipeline of LLM agents to generate intermediate CTE views that decompose complex Text-to-SQL queries, reaching 70.38% execution accuracy on Spider 2.0.

  22. ErrorLLM: Modeling SQL Errors for Text-to-SQL Refinement

    cs.CL 2026-03 conditional novelty 6.0

    A fine-tuned model with special error tokens detects SQL mistakes and guides LLMs to fix them, raising execution accuracy on BIRD from 55.87% to 66.23% and on Spider from 75.44% to 86.94% over GPT-4o.

  23. Knapsack Optimization-based Schema Linking for LLM-based Text-to-SQL Generation

    cs.CL 2025-02 unverdicted novelty 6.0

    KaSLA applies knapsack optimization hierarchically to schema linking for LLM text-to-SQL, claiming better results than large models and improved SQL generation on Spider and BIRD.

  24. Learning When to Reason for Text-to-SQL via SFT and DPO

    cs.CL 2026-06 conditional novelty 5.0

    A training pipeline that teaches a text-to-SQL model to skip chain-of-thought reasoning on easy queries preserves accuracy while reducing inference tokens and latency.

  25. Schema-Aware Localisation (SAL): Live Schema Grounding and Hallucination Validation for Oracle NL2SQL

    cs.AI 2026-06 conditional novelty 5.0

    Live schema grounding against Oracle's catalog plus alias/column validation lifts execution-grounded NL2SQL correctness from 2.2% to 62.6% on 500 TPC-H questions.

  26. RAS: Reflection-Augmented Scaling with In-Context Learning for Executable Cypher Query Generation

    cs.CL 2026-05 unverdicted novelty 5.0

    RAS conditions each new Cypher query attempt on prior execution errors through ICL and reduces execution error rate by 41-50% at n=5 versus 32-38% for independent scaling across three Neo4j datasets and five models.

  27. SecureMCP: A Policy-Enforced LLM Data Access Framework for AIoT Systems via Model Context Protocol

    cs.CR 2026-05 unverdicted novelty 5.0

    SecureMCP integrates RBAC with five sequential defense modules in an MCP server to achieve 82.3% policy compliance against adversarial LLM SQL queries in AIoT while preserving execution accuracy.

  28. APEX-SQL: Talking to the data via Agentic Exploration for Text-to-SQL

    cs.DB 2026-02 conditional novelty 5.0

    An agentic text-to-SQL pipeline using hypothesis-verification exploration achieves 70.7% execution accuracy on BIRD-Dev and 51.0% on Spider 2.0-Snow.

  29. MARS-SQL: A multi-agent reinforcement learning framework for Text-to-SQL

    cs.CL 2025-11 unverdicted novelty 5.0

    MARS-SQL trains a multi-agent RL system with ReAct-style interaction and generative validation to produce SQL queries, reaching 77.84% execution accuracy on BIRD dev and 89.75% on Spider test.

  30. XiYan-SQL: A Novel Multi-Generator Framework For Text-to-SQL

    cs.CL 2025-07 unverdicted novelty 5.0

    XiYan-SQL achieves SOTA Text-to-SQL accuracy by combining schema filtering, a multi-generator ensemble fine-tuned on varied SQL formats, and a selection model.

  31. CHESS: Contextual Harnessing for Efficient SQL Synthesis

    cs.LG 2024-05 conditional novelty 5.0

    CHESS deploys four LLM agents to retrieve information, prune schemas, generate refined SQL candidates, and validate via unit tests, reporting up to 71.10% accuracy on BIRD with 83% fewer calls than leading proprietary...

  32. CHS-SQL: A Text-to-SQL approach based on Confidence-Guided Heuristic Search Schema Linking process

    cs.AI 2026-06 conditional novelty 4.0

    CHS-SQL combines beam search with model-internal-confidence filtering in schema linking to improve small-model text-to-SQL accuracy on Spider and BIRD.

  33. Are Diffusion Language Models Good Database Analysts?

    cs.DB 2026-05 unverdicted novelty 4.0

    Introduces a standardized evaluation setup and SQL-D1 agent for diffusion language models on NL2SQL, claiming structural robustness advantages over autoregressive models.