Skip to Content
ElectronicsElectronics
  • Review
  • Open Access

28 October 2026

41 Pages

Text-to-SQL in the Era of Large Language Models: A Survey of Reasoning-Centric and Efficiency-Centric Approaches

,
and
1
Department of Computer Science and Engineering, Dankook University, 152 Jukjeon-ro, Suji-gu, Yongin-si 16890, Gyeonggi-do, Republic of Korea
2
Department of Artificial Intelligence Convergence, Dankook University, 152 Jukjeon-ro, Suji-gu, Yongin-si 16890, Gyeonggi-do, Republic of Korea
*
Author to whom correspondence should be addressed.

Abstract

Text-to-SQL translates natural-language questions into executable SQL, enabling non-expert access to relational databases. Despite advances in large language models (LLMs), reliable systems must ground questions in schemas and values, handle large schemas, and preserve semantic correctness. This survey reviews the evolution toward LLM-based and agentic systems through an objective-oriented taxonomy of Reasoning-Centric (RC) and Efficiency-Centric (EC) approaches. RC emphasizes interpretation, grounding, workflow organization, candidate search, and verification; EC emphasizes acquiring, adapting, transferring, and deploying capabilities under identifiable resource or deployment constraints. Assignments reflect a study’s stated objectives and main contribution, not model size, openness, or training strategy alone. We connect three recurring challenges to ten methodological families and provide an evidence-linked inventory of 114 studies with eleven boundary interpretations. Benchmark-aware comparisons retain model, split, metric, and inference-budget distinctions, including twelve illustrative BIRD development configurations from ten studies. Explicit token values are reported by 31 of 114 studies; a further 6 additional approximate, range, or bound disclosures bring the total to 37, including 16 of the 50 representative studies. Heterogeneous scopes, spanning prompt context, pipeline components, dataset totals, and offline generation, limit direct comparison of end-to-end inference consumption. These findings motivate configuration-specific resource reporting. We also discuss security and safety risks and their evaluation implications. The taxonomy, comparisons, and reporting framework support joint analysis of reasoning quality and resource use in systems combining RC and EC mechanisms.

1. Introduction

The rapid advancement of artificial intelligence has accelerated the generation of data at an unprecedented scale and diversity. To efficiently store, manage, and utilize such data, various database management systems (DBMSs) have been developed, including key-value stores and vector databases [1,2,3,4]. Nevertheless, relational database management systems (RDBMSs) remain a fundamental infrastructure for general-purpose data management, and Structured Query Language (SQL) continues to serve as the de facto standard for data retrieval and analysis [5,6]. However, effectively using SQL requires specialized knowledge of database schemas, join conditions, aggregation, and nested query structures. This creates a substantial barrier for non-expert users who wish to directly access and analyze relational data.
As illustrated in Figure 1, Text-to-SQL has been proposed to bridge this gap by translating a natural-language question, together with the corresponding database schema, into an executable SQL query [7,8,9]. It enables users to interact with relational databases without requiring prior knowledge of SQL syntax. However, Text-to-SQL is not merely a sequence generation task. It requires schema understanding, value grounding, join-path inference, the construction of aggregation and nested query structures, and verification of whether the generated query correctly represents the user’s intent. Therefore, modern Text-to-SQL can be viewed as an execution-aware semantic parsing and program synthesis problem [7,9].
Figure 1. Overview of Text-to-SQL.
Over the past few decades, Text-to-SQL research has evolved from rule-based systems to neural semantic parsers and, more recently, approaches based on large language models (LLMs). Early Text-to-SQL systems relied on manually designed lexicons, semantic grammars, query templates, and domain-specific rules. Although effective in restricted environments, these systems were difficult to adapt to diverse linguistic expressions and changing database schemas [7]. Neural semantic parsers subsequently enabled end-to-end learning and introduced structured generation mechanisms based on SQL sketches, abstract syntax trees, intermediate representations, relation-aware schema encoding, and grammar-constrained decoding [10,11,12,13,14,15]. However, their dependence on task-specific training data and limited generalization to unseen schemas and query structures remained major challenges. The emergence of LLMs shifted the research focus from designing specialized SQL parsers toward effectively utilizing general-purpose language models through database context, reasoning procedures, and execution feedback [16,17,18,19].
In modern LLM-based Text-to-SQL systems, however, strong language understanding and reasoning capabilities do not guarantee reliable performance. This difficulty arises from three major challenges. First, a practical system must accurately connect natural-language expressions to database schemas and values by identifying relevant tables and columns, grounding question phrases in database values, and inferring valid join paths before constructing the corresponding SQL query [20,21,22]. Second, real-world databases often contain large schemas, for which including the entire schema in a prompt can introduce substantial context length, inference cost, and irrelevant information, motivating scalable schema retrieval and reduction techniques [23,24,25]. Third, syntactic validity and successful execution do not necessarily guarantee semantic correctness, because an executable SQL query may still produce a result that differs from the user’s intended answer; therefore, execution-guided validation and semantic refinement are often required [26,27,28]. Consequently, recent studies have moved beyond simply adopting larger models and increasingly focus on improving reasoning reliability or achieving competitive performance under limited computational resources.
Considering these aspects, this survey organizes recent LLM-based Text-to-SQL research into Reasoning-Centric (RC) and Efficiency-Centric (EC) approaches. RC approaches defined their main contribution in terms of how a system interprets a question, grounds database evidence, organizes a workflow, explores SQL candidates, or verifies and refines a result. Representative mechanisms include prompt design, demonstration retrieval, schema and value grounding, task decomposition, multi-agent orchestration, candidate search, and execution-guided refinement [18,29,30,31,32,33,34]. Such mechanisms can use proprietary or open models and may combine prompting with supervised fine-tuning or reinforcement learning. Their analytical focus is the reasoning-related process; neither frozen parameters nor increased inference cost is a defining requirement.
EC approaches emphasize acquiring, adapting, transferring, and deploying Text-to-SQL capabilities under identifiable constraints on data, model capacity, context, computation, or deployment. Representative mechanisms include task-specific and parameter-efficient adaptation, synthetic supervision, knowledge transfer, compact or specialized models, schema and context optimization, constrained decoding, and execution-guided post-training [35,36,37,38,39,40,41,42]. Their relevance to efficiency can lie in making a constrained model or deployment setting viable, not only in explicitly reducing a measured cost. However, a study’s use of fine-tuning, synthetic data, reinforcement learning, or an open model is not sufficient by itself for an EC assignment. The connection between its main contribution and the constraint being addressed must be identifiable, while actual resource savings remain an empirical question.
The framework is objective-oriented, not a division between prompting and training. Here, primary optimization focus refers to the main contribution interpreted in light of the authors’ stated objectives and the bottleneck or constraint being addressed. The RC/EC label, the documentary basis for that label, and the reported evidence of accuracy or efficiency are distinct analytical elements. Building on prior analyses of LLM-based Text-to-SQL [9,19], Section 3 connects grounding, large-schema processing, and semantic correctness to the corresponding families and explains how to handle shared mechanisms.
The main contributions of this survey are summarized as follows:
  • Source-grounded comparison and challenge–family connections: Table 1 compares four prior surveys by scope, organization, and evaluation coverage, with explicit source versions and section locators. Section 3 connects grounding, large schemas, and semantic correctness to the ten RC/EC families and identifies their distinct interventions in evidence selection, query construction, and validation.
  • Explicit assignment principles and cross-family analysis: We distinguish a study’s stated objective, its primary assignment, and the empirical evidence supporting its benefits. We specify the role of objective and method descriptions, the supporting role of relevant ablation or bottleneck analyses, and the distinction between shared mechanisms and ambiguous primary assignments. A complete 114-study inventory links each primary assignment to its objective, methodological role, rationale, model metadata, and source evidence, with eleven explicitly documented boundary interpretations.
  • Benchmark-aware quantitative comparison and resource-reporting analysis: Section 6.3 compares twelve BIRD development configurations from ten representative studies with explicit model, metric, budget, and resource boundaries. After source-scope screening, 41 eligible BIRD development-set EX configurations remain from 27 representative studies. Section 6.4 defines common measurement boundaries and examines the availability of token-related resource information across the 114-study corpus and the predefined 50-study representative subset. The analysis distinguishes explicit numerical measurements from approximate values, configured budgets, component-level quantities, and offline resource use, thereby identifying both reporting gaps and barriers to direct cross-study efficiency comparison.
Table 1. Scope, organization, and evaluation coverage of representative Text-to-SQL surveys. Source versions are specified below; unlisted topics are not assumed to be absent.
Table 2. Analysis populations, counting units, and membership rules in the reconciled corpus.
The remainder of this paper is organized as follows: Section 2 defines the scope of the survey and reviews the historical development and general workflow of Text-to-SQL. Section 3 presents the objective-oriented taxonomy. Section 4 and Section 5 analyze RC and EC approaches, respectively. Section 6 reviews benchmark datasets and evaluation metrics, compares reported configurations, and examines resource-reporting availability before discussing integrated evaluation. Section 7 examines security and safety, and Section 8 concludes the paper.

2. Background and Overview of Text-to-SQL

Text-to-SQL has evolved from rule- and template-based systems to neural semantic parsers, pretrained language models, and LLM-based systems. With the emergence of LLMs, the research focus has shifted from designing task-specific SQL generation architectures to integrating prompts, database context, reasoning procedures, and execution feedback. This section briefly reviews this evolution and introduces the general workflow and key challenges of modern Text-to-SQL systems.

2.1. Scope, Literature Identification, and Positioning

  • Scope and eligibility. This survey provides a focused technical synthesis of Text-to-SQL over relational databases. Its main scope includes LLM-based SQL generation and the supporting processes of schema and value grounding, model adaptation, supervision and knowledge transfer, workflow organization, candidate search, verification, and deployment. Earlier rule-based, neural, and pretrained-model studies are included to explain the historical development of the field and mechanisms inherited by LLM-based systems. The methodological synthesis extends to studies published or publicly released in 2026, including conference and journal articles, workshop papers, and preprints.
Studies are included in the methodological discussion when they propose a relevant approach or empirically analyze a component of these processes. Conference papers, journal articles, workshop papers, and preprints are represented in the corpus. Inclusion is not conditional on the availability of open model weights, a particular model size, or reported resource savings. RC/EC assignment is a separate analytical judgment based on the primary optimization focus, as described in Section 3. General question answering, unstructured document retrieval, table question answering, and generation of non-SQL target languages are outside the core scope, except where they directly inform Text-to-SQL. Intermediate representations used to generate SQL remain within scope.
  • Literature identification and publication sources. The relevant literature was identified through Google Scholar using Text-to-SQL as the main search term, together with targeted exploration of ACL Anthology and publication resources associated with VLDB and IEEE. The collection was expanded through citation chaining from previously identified papers. Keyword-based discovery and citation-based expansion were therefore complementary routes for locating relevant studies.
The resulting corpus includes publications from ACL, EMNLP, NAACL, EACL, and COLING, including relevant Findings volumes; database venues such as SIGMOD, Proceedings of the ACM on Management of Data, Proceedings of the VLDB Endowment, and ICDE; and AI and machine learning venues including NeurIPS, ICML, ICLR, and AAAI. Relevant papers from KDD, CIKM, IUI, and PRICAI, as well as associated workshops, journals, and arXiv preprints, are also represented.
  • Corpus organization and temporal boundary. The bibliography of the manuscript originally submitted on 30 August 2026 provides the baseline for this revision. During reconciliation on 27 September 2026, the bibliography, manuscript citations, final assignment inventory, and extracted study records were joined by citation key and study identifier, using titles and manuscript locations to resolve correspondence. Repeated citations, including cross-family mentions, were counted once.
The reconciled bibliography contains 158 distinct entries: 114 cited in Section 4 and Section 5, and 44 cited only elsewhere. The 114-study inventory includes methodological studies, empirical analyses, and selected foundational work. The retained records do not document the original search dates, initial retrieval count, duplicate-removal count, or screening and exclusion counts; these historical fields have not been reconstructed. Neither the submission date nor the reconciliation date is a documented last-search date. These counts describe the retained corpus; keyword retrieval and citation chaining may omit relevant publications, so exhaustive coverage is not claimed.
  • Positioning relative to prior surveys. Table 1 compares the organizing perspectives of representative surveys and identifies the source sections supporting the comparison. Qin et al. [8] organize single-turn and multi-turn parsing around encoder–decoder designs and pretraining. Zhu et al. [9] distinguish prompting, fine-tuning, task-training, and agent-based methods. Hong et al. [43] organize LLM-based methods primarily around in-context learning and fine-tuning and also analyze methodological trade-offs and computational efficiency. Shi et al. [44] structure prompt engineering by processing stage, alongside fine-tuning, model characteristics, and a comparison of reported benchmark results.
This survey complements these perspectives by connecting methodological contributions to their primary optimization focus across the Text-to-SQL workflow. RC emphasizes question interpretation, grounding, SQL construction, search, and verification. EC emphasizes how task capabilities are learned, transferred, and deployed in relation to identifiable data, model-capacity, context, computational, or deployment constraints. Section 3 specifies how the role of the main contribution determines the primary assignment.
The synthesis connects grounding, large schemas, and semantic correctness to the ten methodological families, and distinguishes an author’s stated objective from the survey’s classification rationale and the empirical evidence supporting a benefit. Final SQL accuracy, intermediate diagnostic results, configured inference budgets, model scale, and measured resource use are treated as distinct forms of evidence. This cross-family perspective complements the organizing approaches of the prior surveys.
  • Analysis populations and counting units. Table 2 separates four analysis populations. The linked extraction contains 114 study records, 608 experimental configurations, 1659 model-role records, and 1182 measurement records. These are distinct counting units. Each study has one primary assignment in the final taxonomy inventory, which supplies the assignments used in derived analyses.
The performance availability screen retains numeric EX, EM, TS, or explicitly labelled final-accuracy records for online, full-pipeline SQL output under proposed methods, proposed variants, or rerun baselines. It yields 700 measurements in 546 configurations from 110 studies. Requiring an identified split leaves 561 measurements in 425 configurations from 103 studies. Metric-specific evaluation protocols remain separate. Each comparison specifies its benchmark/version, split, subset, evaluator, model, adaptation, budget, and source version; unknown metadata are retained explicitly. Oracle results, bounds, ablations, annotation-quality results, and non-SQL tasks are recorded separately from this scalar-result pool.
For resource reporting, we separately reviewed token-related disclosures across the 114 studies in the taxonomy inventory and the predefined representative subset. Explicit numerical values are distinguished from approximate values, ranges, or upper bounds, while relative reductions, formulas, and graphical evidence remain separate evidence types. Maximum context or output settings, tokens-per-second throughput, and monetary price per token are not counted as absolute token consumption. The audit describes disclosures in the examined source versions.
Accuracy–resource comparisons additionally retain the configuration and workload pairing, online/offline phase, measured pipeline components, aggregation statistic, and reported hardware and serving conditions. Pairing requires matched workloads and a clearly specified measurement scope. These rules connect the population accounting to the evaluation framework in Section 6.3 and Section 6.4. Throughout the survey, taxonomy labels describe methodological objectives. Cross-study tables and plots summarize heterogeneous reported settings; they do not establish controlled accuracy or efficiency rankings or causal effects of RC/EC membership.

2.2. From Rule-Based Methods to LLM-Based Systems

As illustrated in Figure 2, the evolution of Text-to-SQL can be understood as a sequence of efforts to bridge the ambiguity of natural language and the formal structure of relational databases. Its primary research bottleneck has gradually shifted from manually mapping linguistic expressions to SQL grammar toward data-driven learning, cross-domain generalization, structured generation, and LLM-based reasoning and verification.
Figure 2. Historical evolution of Text-to-SQL research.
  • Rule-based NLIDB era. Early Natural Language Interfaces to DataBases relied on manually designed lexicons, semantic grammars, query templates, and domain-specific rules. These systems could provide accurate interpretations in restricted domains with fixed schemas, but they were difficult to extend to unseen expressions, paraphrases, and schema changes. Consequently, substantial manual effort was required whenever the supported domain or query structure changed, limiting the scalability and linguistic coverage of rule-based approaches [7].
  • Neural semantic parsing era. The introduction of large question–SQL datasets, particularly WikiSQL, enabled a transition toward data-driven neural semantic parsing. Seq2SQL formulated SQL generation as a sequence prediction problem and employed execution-based reinforcement learning to address the order-insensitivity of SQL conditions [10]. SQLNet instead predicted individual SQL components according to a predefined query sketch, reducing the difficulty of generating an entire query as an unconstrained token sequence [11]. These studies demonstrated that mappings between natural-language questions and SQL structures could be learned through large-scale supervision and established execution accuracy as a central evaluation metric. However, the single-table setting of WikiSQL provided limited coverage of joins, nested queries, and complex compositional structures.
  • Cross-domain semantic parsing era. The introduction of cross-domain and multi-table settings shifted the primary challenge from reproducing observed SQL patterns to understanding the structures and relationships of previously unseen databases. SyntaxSQLNet decomposed SQL generation according to its syntactic structure [12], while IRNet combined schema linking with an intermediate representation for complex cross-domain parsing [13]. Subsequent methods explicitly modeled relations among question tokens, tables, columns, and database keys. Representative examples include RAT-SQL and BRIDGE, which advanced relation-aware schema encoding, schema linking, and generalization to unseen databases [14,45]. These developments established Text-to-SQL as a structured cross-domain semantic parsing problem rather than a simple sequence-to-sequence translation task.
  • Pretrained language models and structured generation. Pretrained language models further improved contextual representations of natural-language questions and database schemas. At the same time, intermediate representations and constrained generation were introduced to reduce the complex SQL search space. Building on these advances, LGESQL modeled mixed local and non-local relations through a line-graph representation [46], while NatSQL simplified SQL structures that were difficult to align directly with natural-language expressions [47]. PICARD constrained autoregressive decoding by rejecting grammatically invalid tokens  [15]. RASAT and S2SQL integrated relational and syntactic structures into pretrained sequence-to-sequence models [48,49], while RESDSQL separated schema linking from SQL skeleton generation  [50]. Other approaches explored alternative structured-generation mechanisms: SmBoP introduced bottom-up semi-autoregressive parsing, SQLformer generated structured query graphs, and SeaD employed schema-aware denoising  [51,52,53]. Collectively, these methods combined the representation capacity of pretrained models with explicit structural constraints, although they continued to rely heavily on task-specific training data and specialized model designs.
At the boundary between the pretrained-model era and the emerging LLM era, several studies began to move beyond monolithic parser architectures. CatSQL considered practical natural-language-to-SQL deployment  [54], structure- and content-aware prompt learning explored few-shot adaptation [55], and G3R combined graph-guided generation with reranking  [56]. These studies anticipated the modular pipelines and inference-time selection mechanisms that later became common in LLM-based systems.
  • LLM-Based and Agentic Systems. The emergence of LLMs shifted the focus of Text-to-SQL research from designing a task-specific parser toward designing an effective interaction protocol around a general-purpose language model. Early empirical work evaluated the zero-shot and few-shot Text-to-SQL capabilities of Codex [16]. C3 introduced a ChatGPT-3.5-Turbo-0301-based zero-shot Text-to-SQL method that combines clear prompting, calibration with hints, and consistent output [17]. Other systems combined demonstration retrieval, task decomposition, schema and value grounding, multi-candidate generation, and execution-based correction [18,19,22]. More recent approaches distribute schema selection, query planning, generation, and validation across multiple agents or use explicit search and database interaction to verify intermediate hypotheses [28,31,33,57,58]. Accordingly, Text-to-SQL has expanded from a problem in which a single model produces an SQL string into a system-level problem involving interactions among LLMs, database contexts, retrieval modules, execution engines, and verification procedures.
The gap between benchmark performance and practical NL2SQL readiness has been explicitly examined [59]. Recent benchmarks and empirical evaluations further show that controlled academic settings do not fully reflect realistic data-analysis environments. Modern systems must handle larger and more complex schemas, ambiguous identifiers, database values, external knowledge, and heterogeneous workflows. As a result, Text-to-SQL research increasingly considers not only query accuracy but also reasoning reliability, computational cost, latency, privacy, and practical deployability  [9,19].
Overall, the historical development of Text-to-SQL reflects a continuous shift in its primary bottlenecks. Early research focused on mapping natural language to SQL grammar, the neural and pretrained-model eras emphasized structured generation and generalization to unseen schemas, and the LLM era has brought schema and value grounding, reasoning orchestration, candidate verification, and deployment efficiency to the forefront. This progression provides the foundation for the general Text-to-SQL workflow and the RC and EC approaches discussed in the following sections.

2.3. General Workflow of LLM-Based Text-to-SQL Systems

Although LLM-based Text-to-SQL systems differ in their model architectures, training strategies, and database interaction mechanisms, most systems follow a common functional workflow. As illustrated in Figure 3, a natural-language question is processed through four main stages: Preprocessing, Schema Linking, SQL Generation, and Verification. The verified SQL query and its execution result constitute the final output. This stage-oriented view identifies where individual techniques intervene, whereas the taxonomy introduced in Section 3 explains whether their primary objective is to improve reasoning reliability or system efficiency [9,19,22].
Figure 3. General workflow of an LLM-based Text-to-SQL system.
  • Question. The workflow begins with a natural-language question expressing the user’s information need. The question may contain entities, conditions, aggregation requirements, temporal constraints, or ambiguous expressions that must be interpreted before SQL generation.
  • Preprocessing. Preprocessing transforms the question and database information into a model-readable context. Typical operations include normalizing dates, numerical expressions, aliases, and domain-specific terms, as well as serializing schemas using CREATE TABLE statements, structured representations, or natural-language descriptions. Prompt construction, demonstration retrieval, database routing, and compact schema representation may also be applied at this stage [16,19,23,24,29,30,60,61,62]. These techniques reduce irrelevant context and input length, although excessive reduction may remove schema elements required for the final query.
  • Schema Linking. Schema Linking connects expressions in the question to relevant tables, columns, database values, and join paths. The system must identify not only semantically related schema elements but also the relational connectivity required to construct an executable query [20,21,22,23,24,63,64]. Recent methods combine schema retrieval, database-content retrieval, extractive schema selection, and question–schema alignment to improve grounding in large or unfamiliar databases [21,22,24,63,64,65,66]. Errors at this stage may propagate to later stages even when the generated SQL is syntactically valid.
  • SQL Generation. SQL Generation converts the interpreted question and linked schema context into an executable query. The model may generate SQL directly or use intermediate structures such as decomposed subquestions, query plans, SQL sketches, or partial clauses [18,31,32]. Systems may also generate multiple candidates through different prompts, reasoning paths, agents, or models, and then apply ranking or search to improve candidate coverage [33,34,67,68]. Constrained decoding can further reduce syntactically invalid outputs by restricting generation according to SQL grammar or schema structure [15,69].
  • Verification. Verification checks whether the generated SQL is syntactically, structurally, and semantically valid. Static checks can identify malformed syntax, invalid identifiers, and type mismatches, while execution-guided verification can reveal runtime failures or unexpected results [26,27,28,34,70,71]. Because successful execution does not guarantee semantic correctness, systems may also use question–SQL consistency, schema constraints, candidate agreement, test cases, or learned verifiers [27,28,70,72]. When an error is detected, feedback may trigger revised schema linking or SQL regeneration, enabling self-correction and iterative refinement. Execution feedback may also be reused during post-training as a verifiable reward for reinforcement learning or process supervision [41,73,74,75].
  • Execution Result. After verification, the system returns the final SQL query and its execution result. Depending on the application, the output may additionally include an explanation, confidence information, selected schema elements, or provenance. This output is not treated as an additional reasoning stage, but as the result of the preceding workflow.
Overall, the workflow provides a stage-oriented view of LLM-based Text-to-SQL systems. RC analyzes how grounding, planning, candidate exploration, and verification are organized, while EC analyzes how capabilities and the surrounding workflow are adapted to data, model-capacity, context, computational, or deployment constraints. A mechanism can contribute to both perspectives. The following taxonomy assigns the primary role by the main contribution rather than by the stage, technique, or an assumed cost outcome.

3. Taxonomy of LLM-Based Text-to-SQL Approaches

As illustrated in Figure 4, the taxonomy comprises two approaches and five families within each. RC comprises Prompt Design and In-Context Reasoning, Schema-Grounded and Data-Grounded Reasoning, Workflow Decomposition and Agentic Orchestration, Candidate Search and Test-Time Scaling, and Verification and Iterative Refinement. EC comprises Model Adaptation and Parameter-Efficient Tuning, Synthetic Supervision and Knowledge Transfer, Compact and Open Models for Efficient Deployment, Context and Inference Efficiency, and Execution-Guided Post-Training and Verifiable Rewards.
Figure 4. Objective-oriented taxonomy of LLM-based Text-to-SQL approaches.
  • Assignment principles and evidence. The primary optimization focus is determined from the authors’ stated objectives, the bottleneck or constraint addressed, and the role of the main methodological contribution. RC applies when that contribution principally organizes or strengthens interpretation, grounding, query construction, candidate exploration, or verification. EC applies when the contribution principally concerns acquiring, adapting, transferring, or deploying task capabilities in relation to an identifiable data, model-capacity, context, computational, or deployment constraint. The EC interpretation must be justified from the study rather than inferred from model size, openness, or the use of training alone. The survey’s rationale for an assignment is distinct from the objective explicitly claimed by the original authors.
Objectives and method descriptions provide the assignment basis; relevant ablation or bottleneck analyses offer supporting evidence where available. Ablations are optional, and the largest component-removal accuracy drop alone does not determine the primary objective. The inventory identifies the evidence actually used to justify each assignment.
  • Shared mechanisms and boundary cases. A compact model can still be RC when its main contribution is a search or verification procedure. A decomposition method can be EC when its main contribution makes a constrained model viable for the task. Similarly, a trained verifier can serve an RC contribution, while execution-guided post-training can be considered from the EC perspective when its central role is reusable capability development under identifiable model or deployment constraints. These distinctions are consistent with the different roles of decomposition and learned verification discussed in Section 4.3, Section 4.5, and Section 5.3 [18,36,70].
A study may contain both RC and EC mechanisms while having a clear dominant contribution. We distinguish this mechanism overlap from a boundary case, in which more than one primary assignment remains plausible. Secondary mechanisms describe overlap; an alternative primary assignment and an explanation of the choice are needed for a boundary case. Where the objective and method do not support a clear call, the uncertainty should remain visible rather than being resolved by a technique-only rule. The complete inventory in Supplementary Tables S1 and S2 assigns one primary family to each of 114 studies and separates the authors’ objective, the survey’s rationale, secondary mechanisms, and model metadata. It was reconciled against the manuscript and existing extraction records, with selective source checks for conflicting or uncertain cases; it is not an independent re-extraction or an inter-coder reliability study. Appendix A reports the family counts and eleven cases with an explicit alternative primary assignment. These cases document interpretative uncertainty, not a classification error rate. Table 2 defines the inventory and the populations used for performance and resource analyses.
For example, E-SQL is assigned to RC2 because question enrichment primarily strengthens database alignment, whereas BAP-SQL is assigned to EC4 because explicit token and interaction budgets define its optimization target [76,77]. ZAS-SQL transfers reusable failure-derived rules and is assigned to EC2, with RC1 retained as a plausible alternative; rule distillation does not require weight post-training [78]. Conversely, training in STaR-SQL and MARS-SQL supports candidate reasoning and agentic coordination, respectively, so it does not automatically imply an EC assignment [58,79].
  • Connection to the motivating challenges. The three challenges in Section 1 complement the objective-oriented taxonomy. Their connections to the families are many-to-many: each challenge can involve several RC and EC families, while a family may address only some challenges. The following discussion explains these methodological roles.
Grounding. From the RC perspective, schema- and data-grounded reasoning investigates how tables, columns, values, and relationships are identified and used as evidence (Section 4.2) [21,63]. From the EC perspective, model adaptation and supervision or knowledge transfer can make grounding-related capabilities reusable (Section 5.1 and Section 5.2), while selective retrieval and context construction address how that evidence fits within practical input and computation constraints (Section 5.4) [23,80,81]. Evidence-selection quality and resource consumption must be assessed separately.
Large schemas. RC analyzes the organization of schema exploration, selection, and subsequent reasoning through grounding and staged or agentic workflows (Section 4.2 and Section 4.3) [22,31]. EC analyzes routing, schema retrieval, and selective context expansion (Section 5.4) [25,61]; the compact-model perspective also considers how limited model capacity is supported by task organization and auxiliary modules (Section 5.3). More exploration can add calls, while excessive reduction can omit required tables or join paths.
Semantic correctness. RC analyzes query decomposition, candidate selection, and execution-based checking or repair (Section 4.3, Section 4.4 and Section 4.5) [18,28,33]. EC analyzes the learning and reuse of generation or correction behavior through adaptation, synthetic supervision, compact-model support, and execution-guided post-training (Section 5.1, Section 5.2 and Section 5.3 and Section 5.5) [36,41,42,82]. Evaluation should distinguish final accuracy, intermediate reasoning quality, and the observed number and cost of repair attempts.
Section 4 and Section 5 develop these connections through mechanisms, representative studies, advantages, and limitations. Section 6.5 distinguishes the evidence needed to assess their accuracy–resource trade-offs.

4. Reasoning-Centric Approaches

Appendix B complements the methodological discussion with a family-level view of selected reported development-set results.
RC approaches focus on organizing and strengthening the processes through which a system interprets a question, grounds database evidence, constructs and selects SQL candidates, and verifies or refines a result. Their main contribution lies in these reasoning-related processes, including prompt and evidence organization, intermediate decisions, tool interaction, search, and feedback. The RC designation does not require frozen model parameters, exclusive reliance on prompting, or increased inference-time computation. Supervised fine-tuning, preference optimization, and reinforcement learning can support an RC contribution when the central mechanism concerns reasoning, search, or verification rather than the acquisition or deployment of capability under resource constraints.
As summarized in Table 3, the five families are Prompt Design and In-Context Reasoning, Schema-Grounded and Data-Grounded Reasoning, Workflow Decomposition and Agentic Orchestration, Candidate Search and Test-Time Scaling, and Verification and Iterative Refinement. Their connections to grounding, large schemas, and semantic correctness are specified in Section 3.
Table 3. Reasoning-Centric families, methodological focuses, and representative studies.
An RC assignment is an analytical characterization, not proof that intermediate reasoning is valid or semantic correctness is guaranteed. Final SQL accuracy, stage-level diagnostic evidence, and observed resource use answer different questions. Few-shot and tool-supported mechanisms can be useful when target-database supervision is limited, but this is not a defining condition for every RC study. Additional context, search, or verification may increase tokens, calls, latency, or monetary cost, whereas better organization can avoid redundant work. Both benefits and costs must therefore be interpreted from the reported evaluation rather than inferred from the label.

4.1. Prompt Design and In-Context Reasoning

  • Key mechanism. Prompt Design and In-Context Reasoning control the information and reasoning structure presented to an LLM without necessarily modifying its parameters. A prompt may combine task instructions, SQL dialect information, a serialized schema, representative values, output constraints, error-handling rules, and question–SQL demonstrations. The central design problem is therefore to select and organize the most relevant structural and semantic evidence rather than simply increasing prompt length.
  • Representative studies. Early evaluations established that zero-shot and few-shot Text-to-SQL performance is highly sensitive to prompt wording, schema representation, and database content [16]. C3 combined clear prompting, calibration, and consistency mechanisms [17], whereas DAIL-SQL treated question representation, demonstration selection, and demonstration organization as separate design decisions [19]. ACT-SQL augmented demonstrations with automatically generated schema-linking chains of thought [30], Selective Demonstrations analyzed example selection in cross-domain settings [88], and PURPLE retrieved examples according to the SQL operators required by the target query [83]. Safe-SQL introduced fine-grained selection and self-augmentation [84], while OpenSearch-SQL combined dynamic few-shot retrieval with Query–CoT–SQL examples [89]. De-semanticized prompting retrieves examples through SQL skeletons rather than database-specific meanings [90]. Tai et al. compare reasoning prompts and subquestion ordering [91], Adapt and Decompose combines reusable database-adapted prompts with least-to-most generation [92], and Divide and Prompt supplies decomposition strategies for clause construction and refinement [93]. PTD-SQL selects targeted demonstrations using question classification [94]. CoE-SQL organizes conversational evidence as SQL edition chains [95], while ROSE uses role-state examples and context anchoring for multi-turn generation [96]. Nan et al. combine similarity–diversity example selection with schema representation and voting; their principal intervention is the evidence organized in the prompt [29].
  • Advantages. These methods enable rapid adaptation to a new database or SQL dialect without requiring full task-specific training. Retrieved demonstrations and explicit reasoning instructions can also make the evidence supplied to the model easier to inspect and revise.
  • Limitations and evaluation. More context does not necessarily improve performance: complete schemas introduce irrelevant elements, large demonstration sets consume tokens and may contain conflicting patterns, and natural-language similarity does not guarantee SQL-structure similarity. Prompt-based results are also sensitive to contamination, retrieval errors, example ordering, schema serialization, and changes in the underlying model version. Evaluations should therefore report the complete prompt, demonstration source, retrieval model and selection criterion, example count and order, token usage, decoding parameters, and model snapshot under a clearly specified inference budget.

4.2. Schema-Grounded and Data-Grounded Reasoning

  • Key mechanism. Schema-Grounded and Data-Grounded Reasoning connects expressions in a natural-language question to concrete database evidence. Schema grounding identifies relevant tables, columns, keys, relationships, and join paths, whereas data grounding links entities, categories, dates, units, and conditions to stored values. Column descriptions, sample rows, external knowledge, and business rules may provide additional evidence when schema names alone are ambiguous.
  • Representative studies. RSL-SQL combines forward and backward schema linking with contextual augmentation and voting across alternative schema representations [21]. TCSR-SQL retrieves table content when metadata is insufficient [63], Solid-SQL combines enhanced schema linking with in-context learning [64], and SchemaRAG retrieves a compact question-relevant schema from large catalogs [24]. CHESS connects information retrieval, schema selection, candidate generation, and unit testing [22]; Before Generation, Align It! aligns questions with task-specific information [65]; and Extractive Schema Linking directly predicts relevant schema elements [66]. DCG-SQL retrieves demonstrations using contextual schema-link graphs [97]. Automatic metadata extraction supplies descriptions, links, and examples for downstream generation [98]. PV-SQL probes database constraints to support verification [99], while EG-Refine improves schema semantics through renaming and execution-equivalence checks [100]. E-SQL enriches the question with database-aligned information and candidate predicates; this grounding contribution motivates RC2 even though the paper also analyzes resource use [76]. APEX-SQL validates hypotheses about column semantics through data profiling [101], while SDE-SQL executes SQL probes to iteratively update its database understanding [57].
  • Advantages. Grounding mechanisms can reduce hallucinated identifiers and support generalization to unfamiliar or large schemas; the effect depends on the evidence retrieved and its use. Active exploration can additionally reveal value distributions and hidden relationships that cannot be recovered from names or metadata alone.
  • Limitations and evaluation. High column precision is insufficient when pruning removes an intermediate table or join key needed to connect the selected relations. Active exploration also adds database calls, latency, access requirements, and privacy risks. Exploratory queries should therefore run in read-only sandboxes with row limits, timeouts, cost guards, access controls, and sensitive-column masking. Evaluations should separately report table and column recall, value-grounding accuracy, join-path connectivity, retained-schema size, final SQL accuracy, and the number of exploratory database calls.

4.3. Workflow Decomposition and Agentic Orchestration

  • Key mechanism. Workflow Decomposition and Agentic Orchestration divide Text-to-SQL into explicit stages such as database selection, schema linking, difficulty classification, question decomposition, planning, SQL generation, execution, and correction. By exposing intermediate states instead of concentrating every decision in one generation, these systems allow individual decisions to be inspected and revised.
  • Representative studies. DIN-SQL decomposes the task into schema linking, query classification and decomposition, SQL generation, and self-correction, with strategies selected according to query complexity [18]. MAG-SQL uses multiple agents to perform soft schema linking and iteratively construct sub-SQL queries [32], whereas MAC-SQL separates Selector, Decomposer, and Refiner roles [31]. ReFoRCE combines column exploration, format restriction, consensus enforcement, and self-refinement [34]. FlexSQL allows an agent to alternate flexibly between database exploration and SQL execution [85], and MARS-SQL coordinates grounding, generation, and validation agents using database feedback [58]. DEA-SQL filters information and classifies questions before staged generation and correction to manage model attention [102]. Structure-guided generation organizes syntax-tree operations around schema relations [103]. Question-classification-based multi-agent processing chooses the workflow according to the question type [104]. Multi-turn interaction combines retrieval with database feedback during construction [105]. SQLFixAgent coordinates review, diversification, and refinement modules for consistency-enhanced repair [106].
  • Advantages. Decomposition exposes intermediate decisions and can support query-specific reasoning strategies or localize an error to a particular stage. Exposing a decision does not by itself establish that the decision is correct. Specialized agents or modules can also use different tools and database views without requiring one model call to solve every subproblem simultaneously.
  • Limitations and evaluation. An incorrect schema decision or intermediate plan can propagate through the remaining workflow, and fixed pipelines may overfit to benchmark-specific query patterns. Multiple roles do not guarantee diverse reasoning when the same model and context produce correlated errors. Evaluation should therefore include stage-level ablations against a single-agent baseline, shared- and isolated-context variants, and a tool-only workflow. Studies should report model and tool calls, tokens by stage, latency, failure and recovery rates, and the contribution of each module.

4.4. Candidate Search and Test-Time Scaling

  • Key mechanism. Candidate Search and Test-Time Scaling represent uncertainty by generating multiple SQL hypotheses from different prompts, demonstrations, schema subsets, reasoning paths, sampling seeds, or models. Execution results, consensus, learned verifiers, ranking models, and pairwise preference judgments are then used to explore and select from the candidate pool.
  • Representative studies. MetaSQL follows a generate-then-rank design [67]. MCS-SQL applies multiple-choice selection to outputs from different prompts [107], whereas PET-SQL reconstructs schema context from preliminary SQL and uses cross-consistency for selection [108]. CHASE-SQL generates diverse reasoning paths and compares them with a preference-optimized selector [68]. Search-oriented systems allocate computation more explicitly: Alpha-SQL applies Monte Carlo Tree Search with a self-supervised reward [33], SQL-o1 expands promising paths using self-reward [109], PExA performs parallel exploration with atomic test cases [86], and R3-SQL combines ranking rewards with selective resampling [110]. XiYan-SQL integrates multiple generation and selection mechanisms [87]. STaR-SQL couples self-taught reasoning with outcome-based selection under additional test-time computation [79]. Complexity-aware SQL search allocates exploration and recombination according to estimated difficulty [111]. LEAF-SQL performs level-wise skeleton exploration and evaluation [112], while residual ensemble optimization develops complementary prompt skills for failures not covered by existing candidates [113]. TriSQL selects generation, refinement, and fallback strategies dynamically [114]. MCTS-SQL uses feedback-driven tree search with a lightweight model; the search procedure motivates RC4, with constrained-model deployment recorded as an alternative EC3 interpretation [115].
  • Advantages. Candidate search can recover from a poor first generation, expose alternative join paths or query structures, and provide an oracle upper bound that separates generation quality from selection quality. Adaptive search can also allocate more computation to uncertain or structurally complex questions.
  • Limitations and evaluation. The candidate pool must contain a correct query and the selector must identify it; either component can become the bottleneck. Sampling cost often grows linearly or faster, while oracle accuracy may saturate when candidates are correlated. Effective systems therefore need diversity-aware sampling, deduplication, early stopping, uncertainty-based budgets, and cheap-to-expensive cascades. Results should separately report generated and unique candidates, oracle and final accuracy, selector cost, model and database calls, and end-to-end latency.

4.5. Verification and Iterative Refinement

  • Key mechanism. Verification and Iterative Refinement detect errors in generated SQL and revise the query before returning a final result. Static parsing and schema constraints expose malformed syntax, invalid identifiers, and type mismatches, while execution reveals runtime errors and unexpected results. Because successful execution does not guarantee semantic correctness, robust verification also considers result plausibility, question–SQL entailment, candidate agreement, unit tests, and learned semantic signals.
  • Representative studies. LEVER trains a verifier from generated programs and execution results and uses its score to rerank candidates [70]. Execution-consistency validation compares query behavior across executions [27], whereas execution-guided refinement uses database feedback to diagnose and repair generated SQL [26]. ToolSQL integrates external tools into verification and correction [28]. VET represents intermediate reasoning as verifiable executable traces [72]; ReFoRCE combines self-refinement, consensus enforcement, and column exploration [34]; and ErrorLLM generates model-based diagnoses for SQL errors [71]. Corrective self-consistency uses a trained merge model to correct frequent candidate outputs [116]. DSR-SQL combines progressive execution feedback with coherent context states [117]. SQL-of-Thought applies taxonomy-guided diagnosis and multi-agent repair [118]. MAGIC acquires reusable correction guidelines for query repair; their acquisition also supports an alternative knowledge-transfer interpretation in EC2 [119].
  • Advantages. Verification can repair syntax, grounding, and structural mistakes without regenerating the complete pipeline from scratch. Intermediate traces and diagnostic feedback also make failures easier to localize than final-answer-only evaluation.
  • Limitations and evaluation. Verification remains vulnerable to semantic errors that pass syntax and execution checks, and iterative refinement can damage an initially correct query through over-correction. Systems should therefore support a no-change option, confidence thresholds, retry limits, semantic-difference checks, rollback, and explicit termination criteria. The broader evaluation issues shared with execution-guided post-training, including spurious execution agreement and the cost of repeated database interaction, are discussed in Section 6.5.

5. Efficiency-Centric Approaches

Appendix B presents selected EC accuracy results; Section 6.4 examines resource reporting.
EC approaches focus on acquiring, adapting, transferring, and deploying Text-to-SQL capabilities in relation to identifiable constraints on data, model capacity, context, computation, or deployment. This perspective covers more than explicit cost minimization: a contribution may make a compact model capable of a difficult task, provide supervision for a data-limited setting, enable model specialization, or organize inference under practical budgets. However, the relevance of these mechanisms to the constraint being addressed must be supported by the study. Training, synthetic data, small model size, and openness are not sufficient classification rules on their own.
As summarized in Table 4, the five families concern model adaptation and parameter-efficient tuning, synthetic supervision and knowledge transfer, compact and open models for deployment, context and inference optimization, and execution-guided post-training with verifiable rewards. Their common analytical concern is how task capabilities are obtained and made usable under constraints. The families need not share a single measured cost objective, and their contributions can also improve accuracy. Their connections to the three motivating challenges are discussed in Section 3.
Table 4. Efficiency-Centric families, methodological focuses, and representative studies.
An EC assignment identifies an efficiency-related optimization focus, not a demonstrated reduction in end-to-end resource use. We distinguish the authors’ stated objective, the survey’s rationale for the assignment, and the measurements reported to support practical benefits. A compact model can still incur substantial retrieval, candidate-generation, or verification overhead; synthetic supervision and post-training can shift work to data generation and training rather than eliminate it. Practical efficiency therefore requires a specified comparison baseline and measurement scope.
Relevant evidence includes data and teacher-model requirements, total and trainable parameters, training computation, context tokens, observed model and database calls, latency, throughput, peak memory, and monetary cost. Model size and configured budgets describe a system but do not substitute for measured end-to-end consumption. Where a paper reports capability or accuracy without corresponding resource measurements, the latter benefit remains unestablished. Section 5.1, Section 5.2, Section 5.3, Section 5.4 and Section 5.5 retain these distinctions when discussing each family.

5.1. Model Adaptation and Parameter-Efficient Tuning

  • Key mechanism. Model Adaptation and Parameter-Efficient Tuning specialize a pretrained model using question, schema, and SQL examples so that task knowledge can be reused across queries. Full-parameter adaptation and parameter-efficient tuning differ in which components are updated and stored. Their EC relevance lies in specialization under data, training, or deployment constraints, not in the presence of fine-tuning alone. Reduced dependence on long demonstrations or repeated calls is a possible benefit that must be measured rather than assumed.
  • Representative studies. DuBo-SQL presents a fine-tuned variant with concise prompts and a separate retrieval-based variant; EC1 reflects the former, while the latter supports the alternative RC1 interpretation recorded in the appendix [120]. SQLFuse integrates complementary model capabilities and training signals [121], while JOLT-SQL applies joint-loss tuning with confusion-aware noisy-schema sampling [122]. ROUTE uses robust multitask tuning and model collaboration to improve transferability [123]. Schema on the Inside adopts two-phase fine-tuning to internalize schema-related knowledge at scale [80]. Open-SQL combines curated supervision and prompt design to adapt an open model to task and context requirements [127]. FinSQL uses adapters and augmentation to specialize models for private bilingual financial databases [128].
  • Advantages. Adaptation can teach schema serialization, SQL dialects, output formats, join structures, and repair behavior once and reuse this knowledge across queries. Parameter-efficient tuning reduces optimizer memory and checkpoint storage and allows multiple domain-specific adapters to share one pretrained model.
  • Limitations and evaluation. Training only on perfectly filtered schemas may produce brittle models when retrieval introduces missing or irrelevant elements. Training should include alternative serializations, noisy or incomplete schemas, multiple dialects, and realistic execution errors, potentially with auxiliary objectives for linking, skeleton prediction, error classification, and repair. Adapter routing, versioning, compatibility, teacher inference, synthetic-data generation, quantization, and hyperparameter search can dominate total cost. Studies should report total and trainable parameters, precision, sequence length, batch size, optimizer memory, GPU time, training tokens, and both one-time adaptation cost and per-query inference cost and any measured savings relative to the stated baseline.

5.2. Synthetic Supervision and Knowledge Transfer

  • Key mechanism. Synthetic Supervision and Knowledge Transfer construct and reuse task supervision when labeled examples, domain coverage, or target-model capability are limited. The generated material can include databases, SQL queries, questions, reasoning traces, corrections, and demonstrations. Distillation transfers outputs or preferences between models, including from a larger teacher to a smaller student. This family concerns the availability, quality, and transfer of useful supervision; reduced manual labeling does not by itself establish a reduction in total data-generation or training cost.
  • Representative studies. Human-free demonstration fusing combines existing demonstrations to increase diversity without additional annotation [129]. OmniSQL constructs synthetic databases and large-scale question–SQL data for multiple open model sizes [124], while Text2SQL-Flow applies a SQL-aware augmentation and validation process [39]. SING-SQL generates in-domain synthetic data from target schemas [81], and human–LLM collaborative annotation combines automated generation with expert review [130]. RetrySQL learns from failed attempts and retry trajectories [82], whereas SQuaD-SQL combines LLM-guided distillation with efficient adaptation [125]. Database exploration creates filtered instructions for adapting linker and generator models [131]. OpenSQL uses intermediate supervision to develop open-model capability with limited data [132]. CoT-enhanced self-training uses self-generated principles as lightweight adaptation supervision [133]. SENSE combines strong-model demonstrations and weak-model preferences for supervised and preference-based adaptation [134]. ZAS-SQL distills reusable rules from failures for data- and context-constrained generation without weight post-training, making knowledge transfer its primary EC2 role [78].
  • Advantages. Synthetic supervision can expand structural and linguistic coverage, create examples for rare SQL operators, and adapt models to new schemas or domains with less manual labeling. Curricula can also introduce projections and filters before progressively adding joins, nested queries, set operations, window functions, and dialect-specific features.
  • Limitations and evaluation. Parser validity and successful execution do not guarantee that a generated question and SQL query are semantically aligned or non-trivial. Synthetic data may duplicate benchmark patterns, inherit teacher bias, or amplify incorrect SQL conventions. Quality control should examine semantic consistency, result non-triviality, query hardness, schema coverage, linguistic diversity, and structural duplication, with similarity checks against held-out questions, SQL skeletons, and schemas. Studies should report raw and retained example counts, rejection rates, teacher calls, generation cost, structural distribution, and performance on unseen databases and domains.

5.3. Compact and Open Models for Efficient Deployment

  • Key mechanism. Compact and Open Models for Efficient Deployment investigates how useful Text-to-SQL capabilities can be obtained with limited model capacity or practical deployment constraints. Task specialization, decomposition, model collaboration, retrieval, and correction can support a smaller generator. Model availability and licensing determine which forms of inspection, adaptation, and local deployment are possible; openness is a descriptive property, not evidence of low cost. The resources used by auxiliary modules, training, and fallback models must be distinguished from the size of the main generator.
  • Representative studies. CodeS develops open-source Text-to-SQL models through SQL-oriented incremental pretraining and domain adaptation across model scales [35]. DTS-SQL decomposes the task into stages that can be handled by relatively small language models [36]. DataGPT-SQL-7B provides an open 7B-scale SQL generator [37], and SLM-SQL systematically studies training and inference strategies for small language models [38]. SHARE uses small correction assistants to address repeated expensive correction calls; its selected pipeline still uses a large generator [126]. LitE-SQL combines a lightweight generator with vector-based schema linking and execution-guided correction [40]. MSc-SQL uses joint candidate critique to support small accessible models [135]. Feather-SQL combines compact prompts with divided model roles for constrained inference [136]. LEARNAT-SQL internalizes AST-guided decomposition through training to reduce reliance on inference-time search [137].
  • Advantages. Compact models and accessible checkpoints can support locally controlled deployment, adaptation, and reproducibility when their licenses and dependencies permit. Decomposition or auxiliary modules can make tasks feasible for limited-capacity models. A cascade can reserve a stronger model or more extensive search for selected queries, but its average cost and privacy properties depend on the full routing and deployment configuration rather than on the compact generator alone.
  • Limitations and evaluation. Smaller models remain vulnerable to long schemas, rare operators, unfamiliar database functions, and compositional reasoning. Retrieval, constrained decoding, demonstrations, and fallback models can mitigate these weaknesses, but their costs must be included in the system total. Comparisons should report total and activated parameters, quantization, context length, decoding configuration, batch size, hardware, KV-cache and peak memory, throughput, latency, and the cost of retrieval and verification. Model and training-data licenses should also be reported because a downloadable checkpoint may still restrict commercial or on-premises use.

5.4. Context and Inference Efficiency

  • Key mechanism. Context and Inference Efficiency organizes per-query information and computation through database routing, schema retrieval and pruning, value indexing, compact serialization, constrained decoding, adaptive budgets, and system-level scheduling. The focus is on making the workload manageable under input, search, or serving constraints while preserving necessary evidence. A mechanism that primarily improves grounding or verification can also have an RC role; neither context reduction nor constrained decoding alone establishes lower latency or total cost.
  • Representative studies. CRUSH4SQL uses schema hallucination for collective retrieval [60]; DBCopilot routes questions across massive database collections [61]; and Gen-SQL constructs a pseudo-schema to reduce the semantic mismatch between questions and database metadata [62]. LinkAlign supports scalable schema linking in realistic multi-database settings [23], while AutoLink adaptively explores and expands schema context [25]. SchemaGraphSQL uses graph paths to retain connected schema subsets within a controlled context [138]. PICARD is a foundational incremental-parsing method that preserves compatibility with autoregressive models and avoids relying on very large beams; its validity checking also supports an RC5 interpretation, and lower latency is not implied by its EC4 placement [15]. TTD-SQL applies tree-guided token decoding [69]. At the system level, HEXGEN-TEXT2SQL schedules multi-stage workflows across heterogeneous models and hardware [139], whereas BAP-SQL selects database observations under explicit token and interaction budgets [77].
  • Advantages. These methods can reduce irrelevant context, avoid some invalid candidates, or allocate work selectively. Routing and adaptive budgets offer ways to reserve more expensive exploration or stronger models for difficult queries. The observed benefit depends on retrieval recall, implementation overhead, and the resulting generation and verification workload; a shorter prompt or narrower search space is not itself a measurement of end-to-end efficiency.
  • Limitations and evaluation. Schema pruning creates a precision–recall trade-off: semantic similarity alone may remove an intermediate table, key, grouping column, or implicit relationship. Structural decoding prevents some invalid outputs but cannot guarantee semantic correctness, and scheduling overhead may offset model-level savings. Evaluations should report routing accuracy, table and column recall, join connectivity, retained-schema size, token reduction, model and database calls, time to first token, total latency, throughput, hardware utilization, invalid-query rate, and final execution accuracy under matched resource budgets.

5.5. Execution-Guided Post-Training and Verifiable Rewards

  • Key mechanism. Execution-Guided Post-Training uses parsing, execution, result correctness, schema consistency, or intermediate-step quality as learning signals. Reinforcement learning and process supervision can develop reusable generation, reasoning, and correction behavior. The EC perspective concerns the role of this capability development under identifiable model or deployment constraints; the use of execution rewards alone does not determine the primary assignment. Whether learned behavior reduces inference-time search, retries, external verification, or total system cost is a separate empirical question, and a contribution centered on a reasoning or verification procedure can instead have a primary RC role.
  • Representative studies. Knowledge-to-SQL incorporates data-expert knowledge into SQL generation and adaptation [140]. Reasoning-SQL defines partial rewards for schema linking, syntax, and semantic reasoning [41]. FINER-SQL trains small language models using fine-grained execution feedback [42], while Reward-SQL combines stepwise execution-aware reasoning with process-supervised rewards [73]. SQL-Trail applies multi-turn reinforcement learning with interleaved execution feedback and an adaptive interaction budget [74], and Every Step Counts studies step-level credit assignment for tool-integrated systems [75]. ReEx-SQL develops execution-aware reasoning while reusing prefixes to control rollout work [141]. ReViSQL combines verified training data with execution-related rewards [142]. EXPO-SQL provides clause-level execution feedback for policy adaptation [143]. Arctic-Text2SQL-R1 develops a reusable training recipe and specialized checkpoint for single-model inference [144].
  • Advantages. Execution-related supervision can make successful generation and repair patterns reusable and can support models with limited task capability. Step-level rewards can provide feedback beyond a final-answer signal. These are capability-development mechanisms; their resource implications also depend on training, reward construction, rollout generation, and the inference policy. Accuracy gains or successful learning do not by themselves demonstrate lower deployment cost.
  • Limitations and evaluation. The learned policy is bounded by the reliability and coverage of its reward signals. Incomplete rewards may encourage shortcut behavior, unnecessary tool use, or overfitting to the schemas and execution patterns observed during training. Robust objectives should therefore combine complementary signals rather than relying on a single execution result. The cross-cutting questions of semantic reward validity and whether post-training genuinely reduces total system cost are addressed in Section 6.5.

6. Benchmarks, Quantitative Comparisons, and Resource Reporting

Datasets and metrics provide evidence for the questions raised by both RC and EC approaches. Reasoning-oriented mechanisms can be examined through final-task accuracy and diagnostics of grounding, construction, selection, or verification. Efficiency-oriented mechanisms can be examined through capability under the targeted constraint and, where reported, data, training, inference, or deployment requirements. These complementary evaluation questions apply to systems combining both approaches.
Final SQL accuracy can conceal the context, search, and execution budget used to obtain it, while parameter counts or reductions in a single resource can conceal losses in grounding or semantic correctness and costs elsewhere in the pipeline. Both approaches therefore require clearly specified datasets, model configurations, evaluation scopes, and resource conditions. This section reviews established benchmarks and metrics, compares reported configurations, and examines resource-reporting availability under explicit measurement boundaries. The final subsection connects these results to the evaluation of integrated RC and EC systems.

6.1. Benchmark Datasets

Table 5 summarizes representative benchmarks and the capabilities they primarily evaluate. Other datasets provide complementary evaluation settings. CSpider [145] and DuSQL [146] support Chinese Text-to-SQL evaluation, while ADVETA [147] evaluates robustness to adversarial table perturbations. Synthetic relational databases have also been proposed to evaluate robustness beyond fixed benchmark instances [148].
Table 5. Representative Text-to-SQL benchmarks and their primary evaluation focus.
Text-to-SQL benchmarks have evolved together with the primary challenges of the task. Early datasets such as WikiSQL [10] emphasized large-scale supervised learning over relatively simple single-table queries. Spider [149] subsequently established cross-domain and multi-table evaluation, enabling schema linking, join reasoning, and generalization to unseen databases central challenges.
Several benchmarks derived from Spider isolate more specific failure modes. Spider-Realistic [152] reduces explicit lexical correspondence between questions and schema elements, Spider-SYN [153] introduces synonym substitutions, and Spider-DK [154] incorporates domain knowledge that cannot always be recovered from schema names alone. Dr. Spider [155] extends robustness evaluation through systematic perturbations of databases, questions, and SQL queries. In parallel, SParC [150] and CoSQL [151] extend Text-to-SQL to context-dependent and conversational interactions.
More recent benchmarks increasingly reflect challenges encountered in realistic database environments. BIRD [156] emphasizes database-value grounding, external knowledge, and SQL execution efficiency over large databases, while Spider 2.0 [157] targets enterprise-style workflows involving large schemas, multiple SQL dialects, metadata, and database documentation. BIRD-Critic [158] further extends evaluation from SQL generation toward diagnosing and resolving realistic SQL-related problems.
Figure 5 uses the plotting dataset assembled on 27 September 2026 from the corpus extraction described in Section 2.1. Figure 5 includes directly reported absolute numeric values and explicit figure labels for EX, EM, TS, or final accuracy. It retains all recorded splits, including unknown splits, subsets, and result roles, including baseline, oracle, and ablation records; non-SQL tasks (WikiTQ and AIME24) are excluded. Studies are counted once per benchmark and stored study year, and all benchmarks with at least three distinct studies are displayed. This measures the availability of extracted accuracy evidence across the corpus.
Figure 5. Coverage of numeric accuracy evidence in the corpus plotting export of 27 September 2026. Each cell counts distinct studies with EX, EM, TS, or explicitly labelled final-accuracy values for that benchmark and year, across recorded splits, subsets, and result roles. The 14 benchmarks represented by at least three studies are shown. The rightmost column totals each row; a dash denotes no qualifying record. A study may occur in several rows. The 2026 column covers an incomplete calendar year.

6.2. Evaluation Metrics

Text-to-SQL evaluation traditionally focuses on the correctness of the generated SQL. As summarized in Table 6, Exact Match (EM) evaluates structural agreement with a reference SQL query, whereas Execution Accuracy (EX) compares the corresponding execution results. However, EM may penalize semantically equivalent SQL formulations, while EX may accept an incorrect query that coincidentally produces the expected result. Test-suite Accuracy (TS) mitigates this problem by evaluating queries over multiple database instances or test cases. Valid Efficiency Score (VES) further incorporates the execution efficiency of queries that return the correct result. Context-dependent benchmarks may additionally use question- and interaction-level metrics.
Table 6. Representative evaluation metrics for Text-to-SQL systems.
Figure 6 illustrates the distinction using 20 matched EX–TS configurations from 14 studies on Spider development data. Within these reported configurations, the two metrics differ by 0.6–13.2 percentage points. Each displayed pair was checked against its extracted values and source locations.
Figure 6. Paired execution accuracy (EX) and test-suite accuracy (TS) on Spider 1.0 development data: 20 selected configurations from 14 studies. Each line connects the two metrics for one reported configuration; right-hand values give EX minus TS in percentage points. Rows identify studies by author and year, with model or inference settings shown where applicable. The figure includes results from the cited studies [16,30,35,37,83,91,93,109,123,129,131,134] and two studies by Dai et al.: FineStep (2026a) [75] and ReEx-SQL (2026b) [141].
These end-to-end metrics do not reveal where errors occur within the Text-to-SQL pipeline. Following the workflow in Section 2.3, stage-level evaluation may therefore measure table and column recall, value-grounding accuracy, join-path connectivity, valid-SQL rate, candidate oracle accuracy, selector accuracy, and verification repair rate. Such measurements help distinguish failures in Schema Linking, SQL Generation, and Verification.
Evaluation also requires the computational conditions behind reported accuracy. Section 6.4 defines measurement boundaries for tokens, calls, latency, memory, and monetary cost, and the conditions for pairing these quantities with accuracy. SQL execution and SQL generation costs require separate accounting, as do online inference and offline training or synthetic-data generation.

6.3. Benchmark-Aware Comparison of Reported Results

We compare results at the configuration level, identifying each by study, source version, benchmark, split, model, inference policy, and metric. EM, EX, and TS are retained as distinct measures; fractions are converted to percentages according to the reported unit. Results with an unresolved split are excluded from development-set comparisons.
After source-scope screening, 41 eligible BIRD development-set EX configurations remain from 27 of the 50 representative studies in Table 3 and Table 4. For Table 7, the authors purposively selected one eligible study per family to illustrate a methodological feature, with the reason for each choice stated in the selection notes accompanying Supplementary Table S4. OmniSQL and SLM-SQL were selected to retain same-model, within-study comparisons of sampling policies; SLM-SQL additionally reports completion times. Within each selected study, the displayed configuration is the first eligible record in ascending configuration-ID order, with the paired sampling setting added for OmniSQL and SLM-SQL. This gives twelve configurations from ten studies. Supplementary Table S4 lists the complete eligible set, provides source locations and evidence-status definitions, and marks the twelve displayed configurations.
Table 7. Representative reported execution-accuracy results on the BIRD development set, with model and inference settings. Evidence statuses (Used, Prompt, Unknown) follow the definitions and source locators in Supplementary Table S4.
  • What can be compared. Within the extracted OmniSQL configurations, EX changes from 63.9% under greedy decoding to 66.1% under eight-sample voting, a difference of 2.2 percentage points [124]. This establishes a reported accuracy–sampling-budget trade-off, but not a runtime or monetary-cost ratio. For SLM-SQL, increasing generation samples from 16 to 64, while retaining eight revision samples, changes EX from 64.84% to 67.08%; the corresponding reported development-set completion times are 0.83 and 2.68 h [38]. Its reported US$0.22 and US$0.70 figures are estimates based on an author-specified GPU rental price. Section 6.4 defines the measurement scopes and conditions for linking accuracy to resource use.
  • Descriptive result distributions.Figure 7 presents development-set EX results using the same corpus plotting export of 27 September 2026 as Figure 5, with reconciled taxonomy assignments. For this analysis, we apply a narrower inclusion rule and source-scope exclusions to the saved records. Eligible records have a known study year and a directly reported or explicitly figure-labelled absolute EX value for a proposed full system, evaluated online on a full development subset of one of the five displayed benchmarks. The two empirical Spider prompt-evaluation configurations of Rajkumar et al. [16] are additionally included. Test or unknown splits, other metrics, partial subsets, baseline reruns, oracle results, and ablations are excluded. Specifically, two Reward-SQL BIRD configurations are excluded because the source describes a filtered development set with unresolved filtering criteria and size [73]; the DIN-SQL Spider result of 74.2% is excluded because its EX versus TS interpretation differs across the examined sources [18,30]. No replacement score is substituted, and DIN-SQL’s BIRD result remains eligible. The resulting 230 configurations from 86 studies are plotted individually, preserving multiple settings per study. Years use the extraction’s study-year metadata, and small horizontal offsets separate overlapping points. Appendix B restricts this plotting selection to the representative studies in Table 3 and Table 4 and the Spider 1.0 and BIRD benchmarks.
    Figure 7. Development-set execution accuracy from the corpus plotting export of 27 September 2026 after the source-scope exclusions described in Section 6.3. Points show 230 qualifying configurations from 86 studies, including the two empirical Spider configurations. Panel labels give configuration and distinct-study counts separately. Colors and markers follow the reconciled RC/EC assignments. Horizontal offsets separate overlapping points within the stored study year.

6.4. Resource Measurement Boundaries and Reporting Availability

  • Measurement scope. Resource measurements are meaningful only when their scope is explicitly defined. Online accounting begins with an incoming request and ends at the declared system output, but individual studies may include different subsets of schema retrieval, generation, candidate selection, verification, tool interaction, and database execution. Offline accounting instead covers activities such as synthetic-data generation, teacher-model use, training, and infrastructure construction. These quantities should not be combined without an explicit amortization model. Accordingly, resource values are directly comparable only when they refer to compatible models, benchmarks, splits, workloads, pipeline boundaries, and inference settings. A configured candidate count, context-length limit, or parameter count describes a system configuration but does not by itself measure actual resource consumption. Likewise, a component-level token count or latency value should not be interpreted as an end-to-end system cost.
  • Availability of token-related resource reporting. Although resource reporting encompasses multiple dimensions, as summarized in Table 8, our quantitative tally is limited to token-related disclosures. We do not systematically quantify the reporting frequency of model/tool calls, latency, or monetary and end-to-end costs across RC and EC studies. To assess how often token-related information is available, we separately reviewed token-related disclosures across the 114 studies in the taxonomy inventory. Explicit numerical token values were identified in 31 studies. Of these, 19 are assigned to RC and 12 to EC. An additional six studies reported approximate values, ranges, or upper bounds, resulting in 37 studies with some form of absolute token-related quantity, comprising 24 RC and 13 EC studies. Among the 50 representative studies listed in Table 3 and Table 4, 16 provide such absolute token-related information (9 RC and 7 EC). A further six studies provide only relative reductions, formulas, or graphical evidence and are therefore not counted as absolute token disclosures. Supplementary Table S3 identifies the studies included in each reporting category and records their token quantities, measurement scopes, and source locations. The reported token quantities span per-query use, dataset totals, prompt or context length, output tokens only, individual pipeline stages, and offline data generation. For example, RSL-SQL reports dataset-level input and output token totals, ErrorLLM reports token use for detection and refinement while excluding initial SQL generation, and Text2SQL-Flow reports tokens used for offline training-data generation. These scope differences limit direct comparison of end-to-end inference consumption.
    Table 8. Common measurement boundaries for resource reporting.
  • Implications for reporting. Future evaluations should report resource quantities together with the configuration to which they apply, using the boundaries in Table 8. Token reporting should distinguish input and output, per-query statistics and dataset totals, online and offline phases, and full-pipeline and component consumption. Reports should identify the benchmark, split, model, decoding or sampling policy, candidate budget, and included stages. Repeated model, tool, or database calls should be counted alongside token and latency measurements. Accuracy and resource values should only be paired when they correspond to the same model, benchmark, split, workload, and inference configuration. Resource values for external baselines, offline stages, or other workloads must be identified separately. For multi-candidate, iterative, or agentic systems, each reported accuracy should be linked to the resources consumed under that setting, rather than combining a low-cost setting with the paper’s highest accuracy.

6.5. Rethinking Evaluation for Integrated RC and EC Systems

  • Shared correctness risks. Execution is used by both RC verification and EC post-training, but successful execution is not equivalent to semantic correctness. A spurious query may return the expected result by coincidence, while empty results, nondeterministic functions, or incomplete test data may provide misleading verification or reward signals. Refinement introduces an additional risk: a system can repair an incorrect query, leave it unchanged, or damage an initially correct query. Integrated evaluation should therefore supplement single-instance execution accuracy with test suites, semantic checks, schema and type constraints, and explicit repair-transition statistics for repaired, damaged, unchanged, and non-convergent cases.
  • Shared resource accounting. RC techniques may increase inference cost through demonstrations, exploration, candidate generation, verification, and repeated database execution. EC techniques may reduce these costs at deployment while transferring them to synthetic-data generation, teacher-model calls, post-training, retrieval infrastructure, or external support modules. A compact generator may likewise depend on an expensive surrounding pipeline. Comparisons should therefore measure the complete lifecycle and pipeline under matched constraints, including training data and computation, model and reward-model size, context tokens, model and tool calls, candidates, database executions, memory, latency, throughput, and monetary cost. Database interactions should be performed in protected read-only environments with row, time, resource, and access-control limits.
  • Integrated benchmark design. Practical systems increasingly combine both directions: a compact model may process simple queries using a reduced schema and escalate uncertain cases to database exploration, candidate search, or a stronger verifier. Future datasets should therefore annotate or systematically vary the factors that determine both reasoning demand and resource demand, including schema scale, query complexity, ambiguity, value grounding, external knowledge, SQL dialect, and deployment conditions. The same task set should be evaluated under controlled tiers of context, candidate, tool-call, and database-execution budgets rather than allowing each system to use an incomparable resource configuration.
  • Integrated metrics and reporting. EM, EX, TS, and VES should be accompanied by stage-level measures for grounding, routing, candidate coverage and selection, verification, and recovery. System-level reporting should then characterize the accuracy–resource relationship through an accuracy–cost curve, constrained accuracy at fixed budgets, the minimum cost required to reach a target accuracy, or a Pareto frontier. These views reveal whether a method improves capability, reduces resource use, or merely shifts cost to another stage, and thus provide a more appropriate basis for comparing integrated RC and EC systems [9,19,157].

7. Security and Safety of LLM-Based Database Interfaces

LLM-based Text-to-SQL systems connect natural-language requests to executable database operations. Their deployment therefore requires safeguards beyond semantic correctness and computational efficiency. A valid query may expose restricted information, modify persistent data, or impose excessive database load. These concerns apply to both RC and EC approaches and motivate the following considerations.
  • Threats and attack surfaces. User requests and lower-trust context, including schema descriptions, database contents, and execution feedback, can influence subsequent SQL generation. Prompt injection may exploit these inputs to redirect model behavior, while jailbreaking attempts to bypass model-level restrictions. SQL-Trail explicitly discusses injection through database context, disclosure through intermediate observations, and destructive or resource-intensive queries [74]. MSc-SQL and ReFoRCE likewise identify risks associated with automatic execution and unauthorized extraction [34,135]. Stored-content prompt injection should be distinguished from traditional second-order SQL injection, where stored attacker-controlled values later enter unsafe SQL construction. Applications should consider both paths where relevant, rather than treating successful SQL execution as evidence of safe behavior.
  • Defenses and execution safeguards. Protection should combine application policies with database-enforced restrictions. Generated queries should be checked before execution, and database permissions should reflect the authenticated user’s authorized scope. SDE-SQL emphasizes access control, sandboxing, and human oversight even under local deployment [57]. Read-only credentials can reduce unintended modifications, but additional controls are needed for restricted data access and expensive queries. BAP-SQL illustrates how execution and observation budgets can be enforced independently of the model’s planning [77]. Such controls provide useful components for safer deployment, although resource-budget compliance alone does not establish resistance to adversarial attacks.
  • Privacy and safety alignment. Local deployment can reduce the transmission of sensitive context to external providers, but does not ensure authorized query generation. Intermediate results and logs also require protection. VET distinguishes detailed auditing traces from a restricted disclosure mode, illustrating the trade-off between observability and privacy [72]. At the model level, training for SQL correctness should be distinguished from learning security policies. Similarly, syntactic constraints such as those used by PICARD do not establish that a query respects access rights [15]. Policy-aware supervision, adversarial training, and appropriate refusal behavior are therefore relevant research directions whose effectiveness requires dedicated evaluation. They should complement independently enforced permissions and execution controls.
  • Evaluation and implications for RC/EC. Security evaluation should specify attacker capabilities, database permissions, and attack budgets. It should distinguish harmful SQL generation from actual policy violations after application and database controls. Relevant outcomes include unauthorized disclosure, forbidden state changes, resource-limit violations, and end-to-end attack success. These outcomes should be reported alongside clean execution accuracy, false rejection of legitimate requests, and defense overhead. Testing should include indirect and multi-turn attacks in isolated environments. RC exploration may increase exposure through repeated observations and executions, while EC deployment choices may change external-data exposure and the resources available for verification. Security should therefore be evaluated alongside reasoning quality and efficiency, rather than inferred from either taxonomy assignment. The cited studies motivate these requirements, but do not collectively establish comprehensive resistance to prompt injection or jailbreaking.

8. Conclusions

Text-to-SQL has evolved from rule-based natural-language interfaces and task-specific neural semantic parsers into LLM-based systems that coordinate prompting, database grounding, structured generation, candidate exploration, and execution feedback. Accordingly, modern Text-to-SQL should not be viewed merely as the generation of an SQL string from a natural-language question. It is an end-to-end process in which database context construction, schema and value linking, SQL generation, and verification jointly determine the correctness and practical usability of the final query.
This survey organized recent LLM-based Text-to-SQL research by primary optimization focus while retaining the RC–EC framework and its ten methodological families. RC emphasizes the organization of interpretation, grounding, query construction, search, and verification. EC emphasizes the acquisition, adaptation, transfer, and deployment of capabilities under identifiable data, model-capacity, context, computational, or deployment constraints. The authors’ stated objectives and the main methodological contribution provide the basis for these assignments.
Many recent systems combine RC and EC mechanisms through schema retrieval, structured reasoning, candidate generation, execution feedback, model adaptation, and efficient deployment within the same pipeline. Such combinations reveal an important system-level tension: additional reasoning and verification can improve accuracy and robustness but may increase token consumption, model calls, database executions, latency, and operational cost. Conversely, aggressive context reduction or model compression may improve efficiency while reducing schema recall or reasoning capacity. Evaluating a Text-to-SQL system therefore requires both correctness measures and an explicit account of the resources used to obtain them. Benchmark version, dataset split, schema context, model configuration, candidate budget, and execution budget should be reported together rather than reducing evaluation to a single accuracy score.
The quantitative synthesis illustrates within-study accuracy–sampling trade-offs on BIRD. Explicit token values are reported by 31 of the 114 studies, increasing to 37 when approximate values, ranges, and bounds are included. Measurement scopes vary across per-query consumption, dataset totals, context size, individual pipeline stages, and offline processing. These findings motivate explicit measurement boundaries and configuration-level linkage between accuracy and resource use.
Future Text-to-SQL systems are expected to increasingly integrate RC and EC techniques adaptively. Instead of applying the same reasoning pipeline to every question, a system may allocate its model capacity, schema-context size, candidate budget, verification depth, and number of database interactions according to query difficulty and uncertainty. Simple questions could follow a compact and low-cost path, while ambiguous or structurally complex questions could invoke additional grounding, search, or verification. Progress toward this integration will require evaluation protocols that jointly measure semantic reliability and end-to-end system cost under large, dynamic, and realistic database environments. The proposed taxonomy provides a framework for analyzing this convergence and for designing Text-to-SQL systems that are not only accurate, but also efficient, reproducible, and practically deployable.
  • Limitations of this survey. This survey focuses on LLM-based Text-to-SQL methods over relational databases rather than providing exhaustive coverage of all natural-language interfaces to structured data. Table question answering and the generation of non-SQL formal languages are outside the core scope, except where they directly inform Text-to-SQL. Coverage is bounded by the scope and corpus boundaries described in Section 2.1; relevant studies may have been missed or become available after the corpus was assembled. In addition, assigning studies according to their primary optimization focus involves interpretive judgment, particularly when methods combine RC and EC mechanisms. Primary RC/EC assignments therefore reflect the survey’s interpretation of the dominant focus and do not imply that the underlying mechanisms are mutually exclusive. Cross-study comparisons are also constrained by differences in benchmark versions, dataset splits, base models, and inference budgets. This survey synthesizes reported findings rather than independently re-evaluating the surveyed methods under a common experimental setting. The resource-reporting analysis is also limited by the information available in the examined paper versions. Failure to identify a qualifying resource value does not establish that no such information exists in another version or Supplementary Materials. Moreover, the identified token-related quantities differ in scope and aggregation, and many cannot be paired directly with a reported accuracy result. Where end-to-end resource measurements or implementation details are unavailable, conclusions about relative efficiency remain limited.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/electronics15215003/s1. Table S1: Primary assignments, objectives and survey rationales. B denotes a documented boundary interpretation; Table S2: Model metadata and evidence provenance. Models are consolidated across the selected configurations; Table S3: Study-level token disclosure inventory. Explicit and Approx./range/bound rows form the 37-study absolute-quantity tally; the remaining classes are listed separately. An asterisk marks representative-subset membership; Table S4: All 41 eligible BIRD development-set EX configurations. Bold [T7] marks the 12 rows shown in main-text Table 7. EK denotes external knowledge. EX is reported in percent; source locations use one-based PDF pages.

Author Contributions

Conceptualization, G.C. and J.C.; methodology, G.C. and J.C.; validation, D.W. and J.C.; formal analysis, G.C.; investigation, G.C. and D.W.; data curation, G.C. and D.W.; writing—original draft preparation, G.C.; writing—review and editing, G.C., D.W. and J.C.; visualization, G.C. and D.W.; supervision, J.C.; project administration, J.C.; funding acquisition, J.C. All authors have read and agreed to the published version of the manuscript.

Funding

The present research was supported by the research fund of Dankook University in 2022.

Data Availability Statement

The study-level inventory and tabulated evidence supporting this review are provided in the accompanying Supplementary Material (Tables S1–S4). The final supplementary PDF containing Tables S1–S4 will be made publicly available upon publication at https://github.com/ChoiGunHee/T2S_RC_and_EC_Supplementary_File (accessed on 14 October 2026). The analyses synthesize results reported in the cited literature; no new benchmark experiments were conducted.

Acknowledgments

The authors thank the reviewers and editors for their valuable comments and efforts in handling this manuscript.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Assignment Inventory and Boundary Interpretations

Supplementary Tables S1 and S2 provide the complete 114-study assignment inventory, study-level objectives and rationales, selected model metadata, examined source versions, and evidence locations. Table A1 summarizes the primary assignments, counting each study once. Table A2 enumerates the eleven documented boundary interpretations and their alternative assignments.
Table A1. Study counts by primary family in the 114-study inventory.
Table A2. Eleven documented boundary interpretations, with alternative assignments and reasons for the selected primary family.

Appendix B. Family-Level Illustrations of Reported Performance

Figure A1 uses the saved representative-study plotting data derived from the same corpus export as Figure 7. It retains all configurations meeting that figure’s development-set EX rule on Spider 1.0 or BIRD whose studies belong to the 50 representatives in Table 3 and Table 4. Thus, eligible records have a known study year, a numeric absolute EX value, and an online full-pipeline result on the full evaluation subset; the two empirical Spider configurations of Rajkumar et al. [16] remain included. After the same exclusions of the two Reward-SQL BIRD configurations and the DIN-SQL Spider result with unresolved metric interpretation, this yields 82 configurations from 36 studies, preserving multiple settings per study. The 41 BIRD configurations are exactly those listed in Supplementary Table S4. Reference-number annotations identify studies, family colors show their reconciled assignments, and small horizontal offsets separate overlapping points without changing accuracy values.
Figure A1. Labels give the first author’s surname and publication year; method names distinguish different studies with the same surname and year. Repeated labels identify different configurations from the same study; small horizontal offsets improve visibility without changing accuracy values. Data sources for RC: [16,18,19,21,26,28,30,31,32,33,57,64,67,68,70,71,83,84,87]; data sources for EC: [23,25,35,36,37,38,39,41,42,74,75,120,121,122,123,124,126].

References

  1. Pan, J.J.; Wang, J.; Li, G. Survey of vector database management systems. VLDB J. 2024, 33, 1591–1615. [Google Scholar] [CrossRef] [Scilit]
  2. Lu, J.; Holubová, I. Multi-model databases: A new journey to handle the variety of data. ACM Comput. Surv. (CSUR) 2019, 52, 1–38. [Google Scholar]
  3. Wang, J.; Yi, X.; Guo, R.; Jin, H.; Xu, P.; Li, S.; Wang, X.; Guo, X.; Li, C.; Xu, X.; et al. Milvus: A purpose-built vector data management system. In Proceedings of the 2021 International Conference on Management of Data; Association for Computing Machinery: New York, NY, USA, 2021; pp. 2614–2627. [Google Scholar]
  4. Dong, S.; Kryczka, A.; Jin, Y.; Stumm, M. Rocksdb: Evolution of development priorities in a key-value store serving large-scale applications. ACM Trans. Storage (TOS) 2021, 17, 1–32. [Google Scholar] [CrossRef] [Scilit]
  5. Rigger, M.; Su, Z. Testing Database Engines via Pivoted Query Synthesis. In Proceedings of the 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI 20); USENIX Association: Berkeley, CA, USA, 2020; pp. 667–682. [Google Scholar]
  6. Shute, J.; Bales, S.; Brown, M.; Browne, J.D.; Dolphin, B.; Kudtarkar, R.; Litvinov, A.; Ma, J.; Morcos, J.; Shen, M.; et al. SQL has problems. We can fix them: Pipe syntax in SQL. VLDB Endow. 2024, 17, 4051–4063. [Google Scholar] [CrossRef] [Scilit]
  7. Katsogiannis-Meimarakis, G.; Koutrika, G. A deep dive into deep learning approaches for text-to-sql systems. In Proceedings of the 2021 International Conference on Management of Data; Association for Computing Machinery: New York, NY, USA, 2021; pp. 2846–2851. [Google Scholar]
  8. Qin, B.; Hui, B.; Wang, L.; Yang, M.; Li, J.; Li, B.; Geng, R.; Cao, R.; Sun, J.; Si, L.; et al. A survey on text-to-sql parsing: Concepts, methods, and future directions. arXiv 2022, arXiv:2208.13629. [Google Scholar]
  9. Zhu, X.; Li, Q.; Cui, L.; Liu, Y. Large language model enhanced text-to-sql generation: A survey. arXiv 2024, arXiv:2410.06011. [Google Scholar]
  10. Zhong, V.; Xiong, C.; Socher, R. Seq2sql: Generating structured queries from natural language using reinforcement learning. arXiv 2017, arXiv:1709.00103. [Google Scholar]
  11. Xu, X.; Liu, C.; Song, D. SQLNet: Generating Structured Queries From Natural Language Without Reinforcement Learning. arXiv 2017, arXiv:1711.04436. [Google Scholar]
  12. Yu, T.; Yasunaga, M.; Yang, K.; Zhang, R.; Wang, D.; Li, Z.; Radev, D. SyntaxSQLNet: Syntax tree networks for complex and cross-domain text-to-SQL task. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Kerrville, TX, USA, 2018; pp. 1653–1663. [Google Scholar]
  13. Guo, J.; Zhan, Z.; Gao, Y.; Xiao, Y.; Lou, J.G.; Liu, T.; Zhang, D. Towards complex text-to-sql in cross-domain database with intermediate representation. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics; Association for Computational Linguistics: Kerrville, TX, USA, 2019; pp. 4524–4535. [Google Scholar]
  14. Wang, B.; Shin, R.; Liu, X.; Polozov, O.; Richardson, M. Rat-sql: Relation-aware schema encoding and linking for text-to-sql parsers. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics; Association for Computational Linguistics: Kerrville, TX, USA, 2020; pp. 7567–7578. [Google Scholar]
  15. Scholak, T.; Schucher, N.; Bahdanau, D. PICARD: Parsing incrementally for constrained auto-regressive decoding from language models. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Kerrville, TX, USA, 2021; pp. 9895–9901. [Google Scholar]
  16. Rajkumar, N.; Li, R.; Bahdanau, D. Evaluating the text-to-sql capabilities of large language models. arXiv 2022, arXiv:2204.00498. [Google Scholar]
  17. Dong, X.; Zhang, C.; Ge, Y.; Mao, Y.; Gao, Y.; Lin, J.; Lou, D. C3: Zero-shot text-to-sql with chatgpt. arXiv 2023, arXiv:2307.07306. [Google Scholar]
  18. Pourreza, M.; Rafiei, D. Din-sql: Decomposed in-context learning of text-to-sql with self-correction. Adv. Neural Inf. Process. Syst. 2023, 36, 36339–36348. [Google Scholar] [CrossRef] [Scilit]
  19. Gao, D.; Wang, H.; Li, Y.; Sun, X.; Qian, Y.; Ding, B.; Zhou, J. Text-to-sql empowered by large language models: A benchmark evaluation. VLDB Endow. 2024, 17, 1132–1145. [Google Scholar] [CrossRef] [Scilit]
  20. Lei, W.; Wang, W.; Ma, Z.; Gan, T.; Lu, W.; Kan, M.Y.; Chua, T.S. Re-examining the role of schema linking in text-to-SQL. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP); Association for Computational Linguistics: Kerrville, TX, USA, 2020; pp. 6943–6954. [Google Scholar]
  21. Cao, Z.; Zheng, Y.; Fan, Z.; Zhang, X.; Chen, W.; Bai, X. RSL-SQL: Robust Schema Linking in Text-to-SQL Generation. arXiv 2024, arXiv:2411.00073. [Google Scholar]
  22. Talaei, S.; Pourreza, M.; Chang, Y.C.; Mirhoseini, A.; Saberi, A. Chess: Contextual harnessing for efficient sql synthesis. arXiv 2024, arXiv:2405.16755. [Google Scholar]
  23. Wang, Y.; Liu, P.; Yang, X. LinkAlign: Scalable Schema Linking for Real-World Large-Scale Multi-Database Text-to-SQL. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, Suzhou, China, 4–9 November 2025; Christodoulopoulos, C., Chakraborty, T., Rose, C., Peng, V., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 977–991. [Google Scholar] [CrossRef] [Scilit]
  24. Wu, D.; Tang, Z.; He, Y.; Luo, X. Schemarag: A schema-aware retrieval-augmented generation framework for text-to-sql. ACM Manag. Data 2026, 4, 1–26. [Google Scholar] [CrossRef] [Scilit]
  25. Wang, Z.; Zheng, Y.; Cao, Z.; Zhang, X.; Wei, Z.; Fu, P.; Luo, Z.; Chen, W.; Bai, X. Autolink: Autonomous schema exploration and expansion for scalable schema linking in text-to-sql at scale. Proc. Aaai Conf. Artif. Intell. 2026, 40, 33809–33817. [Google Scholar] [CrossRef] [Scilit]
  26. Mao, W.; Wang, R.; Guo, J.; Zeng, J.; Gao, C.; Han, P.; Liu, C. Enhancing text-to-SQL parsing through question rewriting and execution-guided refinement. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2024; Association for Computational Linguistics: Kerrville, TX, USA, 2024; pp. 2009–2024. [Google Scholar]
  27. Yang, Y.; Wang, Z.; Xia, Y.; Wei, Z.; Ding, H.; Piskac, R.; Chen, H.; Li, J. Automated validating and fixing of text-to-sql translation with execution consistency. ACM Manag. Data 2025, 3, 1–28. [Google Scholar] [CrossRef] [Scilit]
  28. Wang, Z.; Zhang, R.; Nie, Z.; Kim, J. ToolSQL: A Tool-Assisted Agent for SQL Verification and Refinement. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2; Association for Computing Machinery: New York, NY, USA, 2025; pp. 3102–3110. [Google Scholar]
  29. Nan, L.; Zhao, Y.; Zou, W.; Ri, N.; Tae, J.; Zhang, E.; Cohan, A.; Radev, D. Enhancing text-to-SQL capabilities of large language models: A study on prompt design strategies. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2023; Association for Computational Linguistics: Kerrville, TX, USA, 2023; pp. 14935–14956. [Google Scholar]
  30. Zhang, H.; Cao, R.; Chen, L.; Xu, H.; Yu, K. ACT-SQL: In-context learning for text-to-SQL with automatically-generated chain-of-thought. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2023; Association for Computational Linguistics: Kerrville, TX, USA, 2023; pp. 3501–3532. [Google Scholar]
  31. Wang, B.; Ren, C.; Yang, J.; Liang, X.; Bai, J.; Chai, L.; Yan, Z.; Zhang, Q.W.; Yin, D.; Sun, X.; et al. MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQL. In Proceedings of the 31st International Conference on Computational Linguistics, Abu Dhabi, United Arab Emirates, 19–24 January 2025; Rambow, O., Wanner, L., Apidianaki, M., Al-Khalifa, H., Eugenio, B.D., Schockaert, S., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 540–557. [Google Scholar]
  32. Xie, W.; Wu, G.; Zhou, B. Mag-sql: Multi-agent generative approach with soft schema linking and iterative sub-sql refinement for text-to-sql. arXiv 2024, arXiv:2408.07930. [Google Scholar]
  33. Li, B.; Zhang, J.; Fan, J.; Xu, Y.; Chen, C.; Tang, N.; Luo, Y. Alpha-SQL: Zero-Shot Text-to-SQL using Monte Carlo Tree Search. In Proceedings of the Forty-second International Conference on Machine Learning, Vancouver, BC, Canada, 13–19 July 2025. [Google Scholar]
  34. Deng, M.; Ramachandran, A.; Xu, C.; Hu, L.; Yao, Z.; Datta, A.; Zhang, H. ReFoRCE: A text-to-SQL agent with self-refinement, consensus enforcement, and column exploration. arXiv 2025, arXiv:2502.00675. [Google Scholar]
  35. Li, H.; Zhang, J.; Liu, H.; Fan, J.; Zhang, X.; Zhu, J.; Wei, R.; Pan, H.; Li, C.; Chen, H. Codes: Towards building open-source language models for text-to-sql. ACM Manag. Data 2024, 2, 1–28. [Google Scholar] [CrossRef] [Scilit]
  36. Pourreza, M.; Rafiei, D. Dts-sql: Decomposed text-to-sql with small large language models. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2024; Association for Computational Linguistics: Kerrville, TX, USA, 2024; pp. 8212–8220. [Google Scholar]
  37. Wu, L.; Li, P.; Lou, J.; Fu, L. Datagpt-sql-7b: An open-source language model for text-to-sql. arXiv 2024, arXiv:2409.15985. [Google Scholar]
  38. Sheng, L.; Shuai, X.S. Slm-sql: An exploration of small language models for text-to-sql. In Proceedings of the 14th International Joint Conference on Natural Language Processing and the 4th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 1497–1512. [Google Scholar]
  39. Cai, Q.; Liang, H.; Xu, C.; Xie, T.; Zhang, W.; Cui, B. Text2sql-flow: A robust sql-aware data augmentation framework for text-to-sql. arXiv 2025, arXiv:2511.10192. [Google Scholar]
  40. Piao, S.; Lee, J.; Park, S. LitE-SQL: A Lightweight and Efficient Text-to-SQL Framework with Vector-based Schema Linking and Execution-Guided Self-Correction. In Proceedings of the Findings of the Association for Computational Linguistics: EACL 2026; Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 3593–3608. [Google Scholar]
  41. Pourreza, M.; Talaei, S.; Sun, R.; Wan, X.; Li, H.; Mirhoseini, A.; Saberi, A.; Arik, S. Reasoning-sql: Reinforcement learning with sql tailored partial rewards for reasoning-enhanced text-to-sql. arXiv 2025, arXiv:2503.23157. [Google Scholar]
  42. Hoang, T.D.; Huynh, T.T.; Weidlich, M.; Nguyen, T.T.; Chen, T.; Yin, H.; Nguyen, Q.V.H. FINER-SQL: Boosting Small Language Models for Text-to-SQL. arXiv 2026, arXiv:2605.03465. [Google Scholar]
  43. Hong, Z.; Yuan, Z.; Zhang, Q.; Chen, H.; Dong, J.; Huang, F.; Huang, X. Next-generation database interfaces: A survey of llm-based text-to-sql. IEEE Trans. Knowl. Data Eng. 2025, 37, 7328–7345. [Google Scholar] [CrossRef] [Scilit]
  44. Shi, L.; Tang, Z.; Zhang, N.; Zhang, X.; Yang, Z. A survey on employing large language models for text-to-sql tasks. ACM Comput. Surv. 2025, 58, 1–37. [Google Scholar] [CrossRef] [Scilit]
  45. Lin, X.V.; Socher, R.; Xiong, C. Bridging textual and tabular data for cross-domain text-to-SQL semantic parsing. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2020; Association for Computational Linguistics: Kerrville, TX, USA, 2020; pp. 4870–4888. [Google Scholar]
  46. Cao, R.; Chen, L.; Chen, Z.; Zhao, Y.; Zhu, S.; Yu, K. LGESQL: Line graph enhanced text-to-SQL model with mixed local and non-local relations. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers); Association for Computational Linguistics: Kerrville, TX, USA, 2021; pp. 2541–2555. [Google Scholar]
  47. Gan, Y.; Chen, X.; Xie, J.; Purver, M.; Woodward, J.R.; Drake, J.; Zhang, Q. Natural SQL: Making SQL easier to infer from natural language specifications. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2021; Association for Computational Linguistics: Kerrville, TX, USA, 2021; pp. 2030–2042. [Google Scholar]
  48. Qi, J.; Tang, J.; He, Z.; Wan, X.; Cheng, Y.; Zhou, C.; Wang, X.; Zhang, Q.; Lin, Z. Rasat: Integrating relational structures into pretrained seq2seq model for text-to-sql. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Kerrville, TX, USA, 2022; pp. 3215–3229. [Google Scholar]
  49. Hui, B.; Geng, R.; Wang, L.; Qin, B.; Li, Y.; Li, B.; Sun, J.; Li, Y. S2sql: Injecting syntax to question-schema interaction graph encoder for text-to-sql parsers. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2022; Association for Computational Linguistics: Kerrville, TX, USA, 2022; pp. 1254–1262. [Google Scholar]
  50. Li, H.; Zhang, J.; Li, C.; Chen, H. Resdsql: Decoupling schema linking and skeleton parsing for text-to-sql. Proc. Aaai Conf. Artif. Intell. 2023, 37, 13067–13075. [Google Scholar] [CrossRef] [Scilit]
  51. Rubin, O.; Berant, J. SmBoP: Semi-autoregressive bottom-up semantic parsing. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies; Association for Computational Linguistics: Kerrville, TX, USA, 2021; pp. 311–324. [Google Scholar]
  52. Bazaga, A.; Liò, P.; Micklem, G. SQLformer: Deep auto-regressive query graph generation for text-to-sql translation. arXiv 2023, arXiv:2310.18376. [Google Scholar]
  53. Xu, K.; Wang, Y.; Wang, Y.; Wang, Z.; Wen, Z.; Dong, Y. SeaD: End-to-end Text-to-SQL Generation with Schema-aware Denoising. In Proceedings of the Findings of the Association for Computational Linguistics: NAACL 2022, Seattle, WA, USA, 10–15 July 2022; Carpuat, M., de Marneffe, M.C., Meza Ruiz, I.V., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2022; pp. 1845–1853. [Google Scholar] [CrossRef] [Scilit]
  54. Fu, H.; Liu, C.; Wu, B.; Li, F.; Tan, J.; Sun, J. Catsql: Towards real world natural language to sql applications. VLDB Endow. 2023, 16, 1534–1547. [Google Scholar] [CrossRef] [Scilit]
  55. Gu, Z.; Fan, J.; Tang, N.; Cao, L.; Jia, B.; Madden, S.; Du, X. Few-shot text-to-sql translation using structure and content prompt learning. ACM Manag. Data 2023, 1, 1–28. [Google Scholar] [CrossRef] [Scilit]
  56. Xiang, Y.; Zhang, Q.W.; Zhang, X.; Liu, Z.; Cao, Y.; Zhou, D. G3r: A graph-guided generate-and-rerank framework for complex and cross-domain text-to-sql generation. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2023; Association for Computational Linguistics: Kerrville, TX, USA, 2023; pp. 338–352. [Google Scholar]
  57. Xie, W.; Dai, Y.; Jiang, W. Sde-sql: Enhancing text-to-sql generation in large language models via self-driven exploration with sql probes. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 2507–2525. [Google Scholar]
  58. Yang, H.; Zhang, J.; He, Z.; Zhou, A.; Fung, Y.R. Mars-SQL: A multi-agent reinforcement learning framework for text-to-SQL. In Proceedings of the Forty-Third International Conference on Machine Learning, Seoul, Republic of Korea, 6–11 July 2026. [Google Scholar]
  59. Li, B.; Luo, Y.; Chai, C.; Li, G.; Tang, N. The Dawn of Natural Language to SQL: Are We Fully Ready? Proc. VLDB Endow. 2024, 17, 3318–3331. [Google Scholar] [CrossRef] [Scilit]
  60. Kothyari, M.; Dhingra, D.; Sarawagi, S.; Chakrabarti, S. CRUSH4SQL: Collective retrieval using schema hallucination for Text2SQL. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Kerrville, TX, USA, 2023; pp. 14054–14066. [Google Scholar]
  61. Wang, T.; Chen, X.; Lin, H.; Han, X.; Sun, L.; Wang, H.; Zeng, Z. Dbcopilot: Natural language querying over massive databases via schema routing. arXiv 2023, arXiv:2312.03463. [Google Scholar]
  62. Shi, J.; Xu, B.; Liang, J.; Xiao, Y.; Chen, J.; Xie, C.; Wang, P.; Wang, W. Gen-SQL: Efficient Text-to-SQL by bridging natural language question and database schema with pseudo-schema. In Proceedings of the 31st International Conference on Computational Linguistics; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 3794–3807. [Google Scholar]
  63. Xu, W.; Yan, L.; Liu, C.; Han, P.; Zhu, H.; Xu, Y.; Liang, Y.; Zhang, B. TCSR-SQL: Towards Table Content-Aware Text-to-SQL With Self-Retrieval. CAAI Trans. Intell. Technol. 2026, 11, 26–40. [Google Scholar] [CrossRef] [Scilit]
  64. Liu, G.; Tan, Y.; Zhong, R.; Xie, Y.; Zhao, L.; Wang, Q.; Hu, B.; Li, Z. Solid-SQL: Enhanced schema-linking based in-context learning for robust text-to-SQL. In Proceedings of the 31st International Conference on Computational Linguistics; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 9793–9803. [Google Scholar]
  65. Qu, G.; Li, J.; Li, B.; Qin, B.; Huo, N.; Ma, C.; Cheng, R. Before generation, align it! A novel and effective strategy for mitigating hallucinations in text-to-sql generation. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2024; Association for Computational Linguistics: Kerrville, TX, USA, 2024; pp. 5456–5471. [Google Scholar]
  66. Glass, M.; Eyceoz, M.; Subramanian, D.; Rossiello, G.; Vu, L.; Gliozzo, A. Extractive schema linking for text-to-sql. arXiv 2025, arXiv:2501.17174. [Google Scholar]
  67. Fan, Y.; He, Z.; Ren, T.; Huang, C.; Jing, Y.; Zhang, K.; Wang, X.S. Metasql: A Generate-Then-Rank Framework for Natural Language to SQL Translation. In Proceedings of the 2024 IEEE 40th International Conference on Data Engineering (ICDE); IEEE: Piscataway, NJ, USA, 2024; pp. 1765–1778. [Google Scholar] [CrossRef] [Scilit]
  68. Pourreza, M.; Li, H.; Sun, R.; Chung, Y.; Talaei, S.; Kakkar, G.T.; Gan, Y.; Saberi, A.; Ozcan, F.; Arik, S.O. CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQL. In Proceedings of the Thirteenth International Conference on Learning Representations, Singapore, 24–28 April 2025. [Google Scholar]
  69. Sharma, C.; Narayanam, R.; Pal, S.; Yeturu, K.; Saini, S.K.; Mukherjee, K. TTD-SQL: Tree-Guided Token Decoding for Efficient and Schema-Aware SQL Generation. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 1287–1298. [Google Scholar]
  70. Ni, A.; Iyer, S.; Radev, D.; Stoyanov, V.; Yih, W.t.; Wang, S.; Lin, X.V. Lever: Learning to verify language-to-code generation with execution. In Proceedings of the International Conference on Machine Learning, Honolulu, HI, USA, 23–29 July 2023; PMLR. pp. 26106–26128. [Google Scholar]
  71. Hong, Z.; Chen, H.; Yuan, Z.; Zhang, Q.; Zhuang, L.; Liao, Q.; Huang, F.; Song, Y.; Huang, X. ErrorLLM: Modeling SQL Errors for Text-to-SQL Refinement. arXiv 2026, arXiv:2603.03742. [Google Scholar]
  72. Wang, D.; Li, J.; Zhang, L.; Huang, L. VET: Verifiable Execution Tracing for Reliable Text-to-SQL Generation. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2026; Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 30867–30883. [Google Scholar]
  73. Zhang, Y.; Fan, M.; Fan, J.; Yi, M.; Luo, Y.; Li, G.; Wu, B.; Zhou, W. Reward-SQL: Boosting Text-to-SQL via Stepwise Execution-Aware Reasoning and Process-Supervised Rewards. Proc. ACM Manag. Data 2026, 4, 228. [Google Scholar] [CrossRef] [Scilit]
  74. Hua, H.; Han, Z.; Shen, Z.; Lee, M.C.; Guan, S.; Zhu, Q.; Jeoung, S.; Chen, Y.; Bai, Y.; Wang, S.; et al. SQL-Trail: Multi-Turn Reinforcement Learning with Interleaved Feedback for Text-to-SQL. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 36224–36246. [Google Scholar]
  75. Dai, Y.; Sun, B.; Wang, J.; Wang, P.; Gao, Y.; Dong, X.; Chu, M.; Qi, X.; Chao, P. Every Step Counts: Step-Level Credit Assignment for Tool-Integrated Text-to-SQL. arXiv 2026, arXiv:2605.04719. [Google Scholar]
  76. Caferoğlu, H.A.; Ulusoy, Ö. E-sql: Direct schema linking via question enrichment in text-to-sql. arXiv 2024, arXiv:2409.16751. [Google Scholar]
  77. Peng, Y.; Dai, A.; Tan, T.; Wang, Z.; Chen, H.; Zhang, H.; Zhang, J.; Ji, T.; Hu, R.; Zhang, Y. BAP-SQL: Budget-Aware Observation Planning for LLM-Based Text-to-SQL Agents. arXiv 2026, arXiv:2608.02876. [Google Scholar]
  78. Zheng, H.; Gou, Y.; Zhang, W. ZAS-SQL: Distilling Rules from Failures for Zero-Shot Text-to-SQL. arXiv 2026, arXiv:2606.08245. [Google Scholar]
  79. He, M.; Shen, Y.; Zhang, W.; Peng, Q.; Wang, J.; Lu, W. STaR-SQL: Self-Taught Reasoner for Text-to-SQL. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Che, W., Nabende, J., Shutova, E., Pilehvar, M.T., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2025. [Google Scholar]
  80. Soni, C.; Chourasia, S.; Kumar, G.; Kapoor, H. Schema on the Inside: A Two-Phase Fine-Tuning Method for High-Efficiency Text-to-SQL at Scale. Proc. Aaai Conf. Artif. Intell. 2026, 40, 40110–40117. [Google Scholar] [CrossRef] [Scilit]
  81. Caferoglu, J.; Pezone, M.; Le Guilly, Y.; Bellet, A.; Neglia, G. SING-SQL: Synthetic In-Domain Data Generation for Text-to-SQL. arXiv 2025, arXiv:2509.25672. [Google Scholar]
  82. Rączkowska, A.; Belluzzo, R.; Zieliński, P.; Baran, J.; Olszewski, P. RetrySQL: Text-to-SQL training with retry data for self-correcting query generation. Proc. Aaai Conf. Artif. Intell. 2026, 40, 32773–32781. [Google Scholar] [CrossRef] [Scilit]
  83. Ren, T.; Fan, Y.; He, Z.; Huang, R.; Dai, J.; Huang, C.; Jing, Y.; Zhang, K.; Yang, Y.; Wang, X.S. Purple: Making a large language model a better sql writer. In Proceedings of the 2024 IEEE 40th International Conference on Data Engineering (ICDE); IEEE: Piscataway, NJ, USA, 2024; pp. 15–28. [Google Scholar]
  84. Lee, J.; Baek, I.; Kim, B.; Bae, H.; Lee, H. Safe-sql: Self-augmented in-context learning with fine-grained example selection for Text-to-SQL. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 19034–19046. [Google Scholar]
  85. Pham, Q.H.; He, Y.; Nie, P.; Xu, C.; Rafiei, D.; Wang, Y.; Ye, X.; Chen, J.Q. FlexSQL: Flexible Exploration and Execution Make Better Text-to-SQL Agents. arXiv 2026, arXiv:2605.02815. [Google Scholar]
  86. Parekh, T.; Hofmann-Coyle, E.; Wang, S.; Kothur, S.S.R.; Prasad, S.; Chen, Y. PExA: Parallel Exploration Agent for Complex Text-to-SQL. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers); Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 564–594. [Google Scholar]
  87. Liu, Y.; Zhu, Y.; Gao, Y.; Luo, Z.; Li, X.; Shi, X.; Hong, Y.; Gao, J.; Li, Y.; Ding, B.; et al. XiYan-SQL: A Novel Multi-Generator Framework for Text-to-SQL. IEEE Trans. Knowl. Data Eng. 2026, 38, 2474–2487. [Google Scholar] [CrossRef] [Scilit]
  88. Chang, S.; Fosler-Lussier, E. Selective Demonstrations for Cross-domain Text-to-SQL. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2023; Bouamor, H., Pino, J., Bali, K., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2023. [Google Scholar]
  89. Xie, X.; Xu, G.; Zhao, L.; Guo, R. Opensearch-sql: Enhancing text-to-sql with dynamic few-shot and consistency alignment. ACM Manag. Data 2025, 3, 1–24. [Google Scholar] [CrossRef] [Scilit]
  90. Guo, C.; Tian, Z.; Tang, J.; Wang, P.; Wen, Z.; Yang, K.; Wang, T. Prompting gpt-3.5 for text-to-sql with de-semanticization and skeleton retrieval. In Proceedings of the Pacific Rim International Conference on Artificial Intelligence; Springer: Singapore, 2023; pp. 262–274. [Google Scholar]
  91. Tai, C.Y.; Chen, Z.; Zhang, T.; Deng, X.; Sun, H. Exploring Chain of Thought Style Prompting for Text-to-SQL. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, Singapore, 6–10 December 2023; Bouamor, H., Pino, J., Bali, K., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2023; pp. 5376–5393. [Google Scholar] [CrossRef] [Scilit]
  92. Arora, A.; Bhaisaheb, S.; Nigam, H.; Patwardhan, M.; Vig, L.; Shroff, G. Adapt and decompose: Efficient generalization of text-to-sql via domain adapted least-to-most prompting. In Proceedings of the 1st GenBench Workshop on (Benchmarking) Generalisation in NLP; Association for Computational Linguistics: Kerrville, TX, USA, 2023; pp. 25–47. [Google Scholar]
  93. Liu, X.; Tan, Z. Divide and prompt: Chain of thought prompting for text-to-sql. arXiv 2023, arXiv:2304.11556. [Google Scholar]
  94. Luo, R.; Wang, L.; Lin, B.; Lin, Z.; Yang, Y. Ptd-sql: Partitioning and targeted drilling with llms in text-to-sql. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Kerrville, TX, USA, 2024; pp. 3767–3799. [Google Scholar]
  95. Zhang, H.; Cao, R.; Xu, H.; Chen, L.; Yu, K. Coe-sql: In-context learning for multi-turn text-to-sql with chain-of-editions. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers); Association for Computational Linguistics: Kerrville, TX, USA, 2024; pp. 6487–6508. [Google Scholar]
  96. Zhou, L.; Yao, F.; Qiao, F.; Xu, B.; Wang, F.; Xu, B. Rose-SQL: Role-State Evolution Guided Structured Reasoning for Multi-Turn Text-to-SQL. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 45442–45459. [Google Scholar]
  97. Lee, J.; Lee, J.S.; Lee, J.; Choi, Y.; Lee, J.H. DCG-SQL: Enhancing in-context learning for text-to-SQL with deep contextual schema link graph. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 15397–15412. [Google Scholar]
  98. Shkapenyuk, V.; Srivastava, D.; Johnson, T.; Ghane, P. Automatic metadata extraction for text-to-sql. arXiv 2025, arXiv:2505.19988. [Google Scholar]
  99. Tian, Y.; Zhang, T. PV-SQL: Synergizing Database Probing and Rule-based Verification for Text-to-SQL Agents. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2026; Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 25827–25845. [Google Scholar]
  100. Wang, J.; Qi, Y.; Hou, W.; Pang, Y.; Yang, R. EGREFINE: An Execution-Grounded Optimization Framework for Text-to-SQL Schema Refinement. arXiv 2026, arXiv:2605.00628. [Google Scholar]
  101. Cao, B.; Liao, W.; Sun, Y.; Fang, D.; Li, H.; Lam, W. APEX-SQL: Talking to the data via Agentic Exploration for Text-to-SQL. arXiv 2026, arXiv:2602.16720. [Google Scholar]
  102. Xie, Y.; Jin, X.; Xie, T.; Lin, M.; Chen, L.; Yu, C.; Cheng, L.; Zhuo, C.; Hu, B.; Li, Z. Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2024; Ku, L.W., Martins, A., Srikumar, V., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2024. [Google Scholar]
  103. Zhang, Q.; Chen, H.; Dong, J.; Chen, S.; Huang, F.; Huang, X. Structure-guided large language models for text-to-SQL generation. In Proceedings of the 42nd International Conference on Machine Learning, ICML’25, Vancouver, BC, Canada, 13–19 July 2025. [Google Scholar]
  104. Shao, Z.; Cai, S.; Lin, R.; Ming, Z. Enhancing text-to-SQL with question classification and multi-agent collaboration. In Proceedings of the Findings of the Association for Computational Linguistics: NAACL 2025; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 4340–4349. [Google Scholar]
  105. Xiong, G.; Bao, J.; Jiang, H.; Song, Y.; Zhao, W. Multi-Turn Interactions for Text-to-SQL with Large Language Models. In Proceedings of the 34th ACM International Conference on Information and Knowledge Management; Association for Computing Machinery: New York, NY, USA, 2025; pp. 3560–3570. [Google Scholar]
  106. Cen, J.; Liu, J.; Li, Z.; Wang, J. Sqlfixagent: Towards semantic-accurate text-to-sql parsing via consistency-enhanced multi-agent collaboration. Proc. Aaai Conf. Artif. Intell. 2025, 39, 49–57. [Google Scholar] [CrossRef] [Scilit]
  107. Lee, D.; Park, C.; Kim, J.; Park, H. MCS-SQL: Leveraging Multiple Prompts and Multiple-Choice Selection For Text-to-SQL Generation. In Proceedings of the 31st International Conference on Computational Linguistics; Rambow, O., Wanner, L., Apidianaki, M., Al-Khalifa, H., Eugenio, B.D., Schockaert, S., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2025. [Google Scholar]
  108. Li, Z.; Wang, X.; Zhao, J.; Yang, S.; Du, G.; Hu, X.; Zhang, B.; Ye, Y.; Li, Z.; Zhao, R.; et al. Pet-sql: A prompt-enhanced two-round refinement of text-to-sql with cross-consistency. arXiv 2024, arXiv:2403.09732. [Google Scholar]
  109. Lyu, S.; Luo, H.; Li, R.; Ou, Z.; Sun, J.; Qin, Y.; Shang, X.; Song, M.; Zhu, Y. Sql-o1: A self-reward heuristic dynamic search method for text-to-sql. arXiv 2025, arXiv:2502.11741. [Google Scholar]
  110. Han, H.; Jeong, Y.; Hwang, S.w.; Yao, Z.; He, Y. R3-SQL: Ranking Reward and Resampling for Text-to-SQL. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2026; Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 43257–43275. [Google Scholar]
  111. Petullo, J.; Xue, N. CA-SQL: Complexity-Aware Inference Time Reasoning for Text-to-SQL via Exploration and Compute Budget Allocation. arXiv 2026, arXiv:2605.08057. [Google Scholar]
  112. Tan, Z.; Liu, X.; Shu, Q.; Wan, Q.; Liu, D.; Wan, C. LEAF-SQL: Level-wise Exploration with Adaptive Fine-graining for Text-to-SQL Skeleton Prediction. arXiv 2026, arXiv:2605.09295. [Google Scholar]
  113. Zhu, J.; Guan, H.; Prashant, P.P.; Kuang, N.L.; Khatami, S.B.; Xu, C.; Yu, X.; Lin, Y.; Yao, Z.; He, Y.; et al. Residual Skill Optimization for Text-to-SQL Ensembles. arXiv 2026, arXiv:2605.21792. [Google Scholar]
  114. Su, X.; Gu, Y.; Wang, P.; Gu, W.; Qi, L.; He, J. A robust natural language text-to-SQL generation framework with dynamic strategies based on LLMs. Sci. Rep. 2026, 16, 7892. [Google Scholar] [CrossRef] [Scilit]
  115. Yuan, S.; Chen, L.; Yuan, M.; Jin, Z. MCTS-SQL: Light-Weight LLMs can Master the Text-to-SQL through Monte Carlo Tree Search. Proc. Aaai Conf. Artif. Intell. 2026, 40, 34521–34529. [Google Scholar] [CrossRef] [Scilit]
  116. Sheng, L.; Shuai, X.S. Csc-sql: Corrective self-consistency in text-to-sql via reinforcement learning. In Proceedings of the 14th International Joint Conference on Natural Language Processing and the 4th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 1473–1496. [Google Scholar]
  117. Hao, Z.; Song, Q.; Cai, R.; Xu, B. Text-to-SQL as Dual-State Reasoning: Integrating Adaptive Context and Progressive Generation. arXiv 2025, arXiv:2511.21402. [Google Scholar]
  118. Chaturvedi, S.; Chadha, A.; Bindschaedler, L. SQL-of-Thought: Multi-agentic Text-to-SQL with Guided Error Correction. In Proceedings of the NeurIPS 2025 Fourth Workshop on Deep Learning for Code, San Diego, CA, USA, 2–7 December 2025. [Google Scholar]
  119. Askari, A.; Poelitz, C.; Tang, X. MAGIC: Generating Self-Correction Guideline for In-Context Text-to-SQL. Proc. Aaai Conf. Artif. Intell. 2025, 39, 23433–23441. [Google Scholar] [CrossRef] [Scilit]
  120. Thorpe, D.G.; Duberstein, A.J.; Kinsey, I.A. Dubo-sql: Diverse retrieval-augmented generation and fine tuning for text-to-sql. arXiv 2024, arXiv:2404.12560. [Google Scholar]
  121. Zhang, T.; Chen, C.; Liao, C.; Wang, J.; Zhao, X.; Yu, H.; Wang, J.; Li, J.; Shi, W. SQLfuse: Enhancing Text-to-SQL Performance through Comprehensive LLM Synergy. arXiv 2024, arXiv:2407.14568. [Google Scholar]
  122. Song, J.; Zan, H.; Zhang, K.; Mu, L.; Han, Y.; Hua, H.; Peng, M. JOLT-SQL: Joint Loss Tuning of Text-to-SQL with Confusion-aware Noisy Schema Sampling. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 6051–6064. [Google Scholar]
  123. Qin, Y.; Chen, C.; Fu, Z.; Chen, Z.; Peng, D.; Hu, P.; Ye, J. ROUTE: Robust multitask tuning and collaboration for Text-to-SQL. In Proceedings of the International Conference on Learning Representations, Singapore, 24–28 April 2025; Volume 2025, pp. 12425–12448. [Google Scholar]
  124. Li, H.; Wu, S.; Zhang, X.; Huang, X.; Zhang, J.; Jiang, F.; Wang, S.; Zhang, T.; Chen, J.; Shi, R.; et al. OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale. arXiv 2025, arXiv:2503.02240. [Google Scholar] [CrossRef] [Scilit]
  125. Wu, W.; Lin, X.; Fu, R.; Yu, Z.; Chen, X.; Yu, W.; Chen, Z. SQuaD-SQL: Efficient Text-to-SQL with Small Language Models via LLM-Guided Knowledge Distillation. arXiv 2026, arXiv:2607.08161. [Google Scholar]
  126. Qu, G.; Li, J.; Qin, B.; Li, X.; Huo, N.; Ma, C.; Cheng, R. SHARE: An SLM-based hierarchical action CorREction assistant for text-to-SQL. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers); Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 11268–11292. [Google Scholar]
  127. Chen, X.; Wang, T.; Qiu, T.; Qin, J.; Yang, M. Open-sql framework: Enhancing text-to-sql on open-source large language models. arXiv 2024, arXiv:2405.06674. [Google Scholar]
  128. Zhang, C.; Mao, Y.; Fan, Y.; Mi, Y.; Gao, Y.; Chen, L.; Lou, D.; Lin, J. FinSQL: Model-Agnostic LLMs-based Text-to-SQL Framework for Financial Analysis. In Proceedings of the Companion of the 2024 International Conference on Management of Data; SIGMOD ’24; Association for Computing Machinery: New York, NY, USA, 2024; pp. 93–105. [Google Scholar] [CrossRef] [Scilit]
  129. Wang, D.; Dou, L.; Zhang, X.; Zhu, Q.; Che, W. Improving Demonstration Diversity by Human-Free Fusing for Text-to-SQL. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2024, Miami, FL, USA, 12–16 November 2024; Association for Computational Linguistics: Kerrville, TX, USA, 2024; pp. 1193–1207. [Google Scholar] [CrossRef] [Scilit]
  130. Tian, Y.; Lee, D.; Wu, F.; Mai, T.; Qian, K.; Sahai, S.; Zhang, T.; Li, Y. Text-to-SQL domain adaptation via human-LLM collaborative data annotation. In Proceedings of the 30th International Conference on Intelligent User Interfaces; Association for Computing Machinery: New York, NY, USA, 2025; pp. 1398–1425. [Google Scholar]
  131. Ma, H.; Shen, Y.; Liu, H.; Zhang, W.; Xu, H.; Peng, Q.; Wang, J.; Lu, W. DB-Explore: Automated Database Exploration and Instruction Synthesis for Text-to-SQL. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2025,Suzhou, China, 4–9 November 2025; Christodoulopoulos, C., Chakraborty, T., Rose, C., Peng, V., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 18969–18979. [Google Scholar] [CrossRef] [Scilit]
  132. Hu, R.; Luo, Y.; Li, G.; Wu, S.; Luo, Y. OpenSQL: Data-Efficient Text-to-SQL for Open-Source LLMs via Synthesized Intermediate Supervision. VLDB Endow. 2026, 19, 1628–1642. [Google Scholar] [CrossRef] [Scilit]
  133. Lyu, F.; Cen, J.; Duan, S.; Wu, H.; Li, S.; Zhang, W.; Wu, H. Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning. arXiv 2026, arXiv:2606.15598. [Google Scholar]
  134. Yang, J.; Hui, B.; Yang, M.; Yang, J.; Lin, J.; Zhou, C. Synthesizing Text-to-SQL Data from Weak and Strong LLMs. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Bangkok, Thailand, 11–16 August2024; Association for Computational Linguistics: Kerrville, TX, USA, 2024; pp. 7864–7875. [Google Scholar] [CrossRef] [Scilit]
  135. Gorti, S.K.; Gofman, I.; Liu, Z.; Wu, J.; Vouitsis, N.; Yu, G.; Cresswell, J.C.; Hosseinzadeh, R. MSc-SQL: Multi-Sample Critiquing Small Language Models For Text-To-SQL Translation. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), Albuquerque, NM, USA, 29 April–4 May 2025; Chiruzzo, L., Ritter, A., Wang, L., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2025; pp. 2145–2160. [Google Scholar] [CrossRef] [Scilit]
  136. Pei, W.; Xu, H.; Zhao, H.H.; Han, C.; Zhang, Z.; Hou, S.; Pingyi, L.; He, B. Feather-SQL: A lightweight NL2SQL framework with dual-model collaboration paradigm for small language models. In Proceedings of the ICLR 2025 Third Workshop on Deep Learning for Code; The Asian Federation of Natural Language Processing and The Association for Computational Linguistics: Kerrville, TX, USA, 2025. [Google Scholar]
  137. Liao, W.; Gao, X.; Jia, T.; Qiu, R.; Zhu, Y.; Lin, Y.; Ma, X.; Zhao, J.; Wang, Y. Learnat: Learning nl2sql with ast-guided task decomposition for large language models. arXiv 2025, arXiv:2504.02327. [Google Scholar]
  138. Safdarian, A.; Mohammadi, M.; Bashirloo, E.J.; Naderi, M.S.; Faili, H. Schemagraphsql: Efficient schema linking with pathfinding graph algorithms for text-to-sql on large-scale databases. In Proceedings of the Findings of the Association for Computational Linguistics: EACL 2026; Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 2585–2599. [Google Scholar]
  139. Chen, P.; Wang, B.; Liang, Z.; Xie, X. HEXGEN-TEXT2SQL: A Heterogeneous-Agent Framework for Robust and Efficient LLM-Based Text-to-SQL. arXiv 2025, arXiv:2505.05286. [Google Scholar]
  140. Hong, Z.; Yuan, Z.; Chen, H.; Zhang, Q.; Huang, F.; Huang, X. Knowledge-to-sql: Enhancing sql generation with data expert llm. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2024; Association for Computational Linguistics: Kerrville, TX, USA, 2024; pp. 10997–11008. [Google Scholar]
  141. Dai, Y.; Xie, W.; Zhuang, X.; Yang, T.; Liu, Z.; Yang, H.; Yang, Y.; Zhao, Y.; Chao, P.; Jiang, W. ReEx-SQL: Reasoning with Execution-Aware Reinforcement Learning for Text-to-SQL. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), San Diego, CA, USA, 2–7 July 2026; Liakata, M., Moreira, V.P., Zhang, J., Jurgens, D., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 824–847. [Google Scholar] [CrossRef] [Scilit]
  142. Zhu, Y.; Jin, T.; Choi, Y.; Kang, D. ReViSQL: Achieving Human-Level Text-to-SQL. arXiv 2026, arXiv:2603.20004. [Google Scholar]
  143. Lee, J.; Na, C.; Bae, S.; Lee, J.S.; Lee, J.; Choi, Y.; Lee, J.H. EXPO-SQL: Execution-based Clause-level Policy Optimization for Text-to-SQL. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2026; Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 22000–22019. [Google Scholar]
  144. Yao, Z.; Sun, G.; Borchmann, Ł.; Shen, Z.; Deng, M.; Zhai, B.; Zhang, H.; Li, A.; He, Y. Arctic-Text2SQL-R1: Simple Rewards, Strong Reasoning in Text-to-SQL. In Proceedings of the Findings of the Association for Computational Linguistics: ACL 2026, San Diego, CA, USA, 2–7 July 2026; Liakata, M., Moreira, V.P., Zhang, J., Jurgens, D., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2026; pp. 26966–26995. [Google Scholar] [CrossRef] [Scilit]
  145. Min, Q.; Shi, Y.; Zhang, Y. A pilot study for Chinese SQL semantic parsing. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP); Association for Computational Linguistics: Kerrville, TX, USA, 2019; pp. 3652–3658. [Google Scholar]
  146. Wang, L.; Zhang, A.; Wu, K.; Sun, K.; Li, Z.; Wu, H.; Zhang, M.; Wang, H. DuSQL: A Large-Scale and Pragmatic Chinese Text-to-SQL Dataset. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), Online, 16–20 November 2020; Webber, B., Cohn, T., He, Y., Liu, Y., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2020; pp. 6923–6935. [Google Scholar] [CrossRef] [Scilit]
  147. Pi, X.; Wang, B.; Gao, Y.; Guo, J.; Li, Z.; Lou, J.G. Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table Perturbation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Dublin, Ireland, 22–27 May 2022; Muresan, S., Nakov, P., Villavicencio, A., Eds.; Association for Computational Linguistics: Kerrville, TX, USA, 2022; pp. 2007–2022. [Google Scholar] [CrossRef] [Scilit]
  148. Habibollah, M.; Rafiei, D. SynSQL: Synthesizing Relational Databases for Robust Evaluation of Text-to-SQL Systems. arXiv 2026, arXiv:2604.27261. [Google Scholar]
  149. Yu, T.; Zhang, R.; Yang, K.; Yasunaga, M.; Wang, D.; Li, Z.; Ma, J.; Li, I.; Yao, Q.; Roman, S.; et al. Spider: A large-scale human-labeled dataset for complex and cross-domain semantic parsing and text-to-sql task. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Kerrville, TX, USA, 2018; pp. 3911–3921. [Google Scholar]
  150. Yu, T.; Zhang, R.; Yasunaga, M.; Tan, Y.C.; Lin, X.V.; Li, S.; Er, H.; Li, I.; Pang, B.; Chen, T.; et al. Sparc: Cross-domain semantic parsing in context. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics; Association for Computational Linguistics: Kerrville, TX, USA, 2019; pp. 4511–4523. [Google Scholar]
  151. Yu, T.; Zhang, R.; Er, H.; Li, S.; Xue, E.; Pang, B.; Lin, X.V.; Tan, Y.C.; Shi, T.; Li, Z.; et al. Cosql: A conversational text-to-sql challenge towards cross-domain natural language interfaces to databases. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP); Association for Computational Linguistics: Kerrville, TX, USA, 2019; pp. 1962–1979. [Google Scholar]
  152. Deng, X.; Hassan, A.; Meek, C.; Polozov, O.; Sun, H.; Richardson, M. Structure-grounded pretraining for text-to-sql. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies; Association for Computational Linguistics: Kerrville, TX, USA, 2021; pp. 1337–1350. [Google Scholar]
  153. Gan, Y.; Chen, X.; Huang, Q.; Purver, M.; Woodward, J.R.; Xie, J.; Huang, P. Towards robustness of text-to-SQL models against synonym substitution. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers); Association for Computational Linguistics: Kerrville, TX, USA, 2021; pp. 2505–2515. [Google Scholar]
  154. Gan, Y.; Chen, X.; Purver, M. Exploring underexplored limitations of cross-domain text-to-sql generalization. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing; Association for Computational Linguistics: Kerrville, TX, USA, 2021; pp. 8926–8931. [Google Scholar]
  155. Chang, S.; Wang, J.; Dong, M.; Pan, L.; Zhu, H.; Li, A.H.; Lan, W.; Zhang, S.; Jiang, J.; Lilien, J.; et al. Dr. spider: A diagnostic evaluation benchmark towards text-to-sql robustness. arXiv 2023, arXiv:2301.08881. [Google Scholar]
  156. Li, J.; Hui, B.; Qu, G.; Yang, J.; Li, B.; Li, B.; Wang, B.; Qin, B.; Geng, R.; Huo, N.; et al. Can llm already serve as a database interface? a big bench for large-scale database grounded text-to-sqls. Adv. Neural Inf. Process. Syst. 2023, 36, 42330–42357. [Google Scholar] [CrossRef] [Scilit]
  157. Lei, F.; Chen, J.; Ye, Y.; Cao, R.; Shin, D.; Su, H.; Suo, Z.; Gao, H.; Hu, W.; Yin, P.; et al. Spider 2.0: Evaluating language models on real-world enterprise text-to-sql workflows. In Proceedings of the International Conference on Learning Representations, Singapore, 24–28 April 2025; Volume 2025, pp. 28691–28735. [Google Scholar]
  158. Li, J.; Li, X.; Qu, G.; Jacobsson, P.; Qin, B.; Hui, B.; Si, S.; Huo, N.; Xu, X.; Zhang, Y.; et al. SWE-SQL: Illuminating LLM Pathways to Solve User SQL Issues in Real-World Applications. In Proceedings of the Advances in Neural Information Processing Systems; Main Conference; Belgrave, D., Zhang, C., Lin, H., Pascanu, R., Koniusz, P., Ghassemi, M., Chen, N., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2025; Volume 38, pp. 97085–97120. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.