Tech Studies

91,965 research papers, searchable by meaning as well as exact wording. So “steering vectors” also surfaces work on “activation steering.”

Papers
91,965
Semantically indexed
91,965
Subject areas
145
Authors
199,823
Newest paper
25 Nov

16 results for “sql queries”

Matched on wording only, meaning-matching is unavailable right now

1

SQL-Exchange: Transforming SQL Queries Across Domains

9 Aug · Mohammadreza Daviran, Brian Lin, Davood Rafiei · arXiv:2508.07087

We introduce SQL-Exchange, a framework for mapping SQL queries across different database schemas by preserving the source query structure while adapting domain-specific elements to align with the target schema. We investigate the conditions under which such mappings are feasible and beneficial, and examine their impact on enhancing the in-context learning performance of text-to-SQL systems as a downstream task. Our…

Accepted to PVLDB 2026 Databases Artificial intelligence Language & NLP Matched by wording
2

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

8 Apr · Minh Tam Pham, Trinh Pham, Tong Chen +3 · arXiv:2604.07041

Text-to-SQL is the task of translating natural language queries into executable SQL for a given database, enabling non-expert users to access structured data without writing SQL manually. Despite rapid advances driven by large language models (LLMs), existing approaches still struggle with complex queries in real-world settings, where database schemas are large and questions require multi-step reasoning over many…

3

Verifying Text-to-SQL Queries under Changing Business Semantics

30 Oct · Genliang Zhu, Xiaobo Chen, Ziyuan Wang +1 · arXiv:2610.41090

In text-to-SQL and AI-agent analytics, successful SQL execution does not establish semantic correctness under changing business definitions. We study revalidation of fixed queries after changes to refund attribution, tax treatment, eligible populations and exchange-rate dates. An executable verification profile binds the requested revision and knowledge cutoff to legal counterexample data and exact monetary…

Artificial intelligence Matched by wording
4

Bootstrapping Learned Cost Models with Synthetic SQL Queries

27 Aug · Michael Nidd, Christoph Miksovic, Thomas Gschwind +3 · arXiv:2508.19807

Having access to realistic workloads for a given database instance is extremely important to enable stress and vulnerability testing, as well as to optimize for cost and performance. Recent advances in learned cost models have shown that when enough diverse SQL queries are available, one can effectively and efficiently predict the cost of running a given query against a specific database engine. In this paper, we…

5

RAG Strategies for Natural Language-Based SQL Query and REST API Call Generation

6 Feb · Tim Schlippe, Simon Martin, Michael Marketsmüller · arXiv:2602.07086

Enterprise software systems commonly expose functionality through relational databases and REST APIs, requiring users to understand schemas, endpoints, and parameters. Retrieval-augmented generation (RAG) can support natural language interfaces by grounding large language models (LLMs) in enterprise-specific documentation. We evaluate three training-free RAG configurations - Standard RAG, Relevance Filtering RAG,…

Published in the IEEE Proceedings of the 3rd International Conference on Foundation and Large Language Models (FLLM 2026), Barcelona, Spain, November 17-20, 2026 Software engineering Artificial intelligence Language & NLP Matched by wording
6

LatentRefusal: Latent-Signal Refusal for Unanswerable Text-to-SQL Queries

15 Jan · Xuancheng Ren, Shijing Hu, Zhihui Lu +2 · arXiv:2601.10398

In LLM-based text-to-SQL systems, unanswerable and underspecified user queries may generate not only incorrect text but also executable programs that yield misleading results or violate safety constraints, posing a major barrier to safe deployment. Existing refusal strategies for such queries either rely on output-level instruction following, which is brittle due to model hallucinations, or estimate output…

Artificial intelligence Matched by wording
7

Datrics Text2SQL: A Framework for Natural Language to SQL Query Generation

3 Apr · Tetiana Gladkykh, Kyrylo Kirykov · arXiv:2506.12234

Text-to-SQL systems enable users to query databases using natural language, democratizing access to data analytics. However, they face challenges in understanding ambiguous phrasing, domain-specific vocabulary, and complex schema relationships. This paper introduces Datrics Text2SQL, a Retrieval-Augmented Generation (RAG)-based framework designed to generate accurate SQL queries by leveraging structured…

initial whitepaper version 1.0, submitted March 2025 Databases Artificial intelligence Language & NLP Matched by wording
8

RISE: Rule-Driven SQL Dialect Translation via Query Reduction

9 Jan · Xudong Xie, Yuwei Zhang, Wensheng Dou +5 · arXiv:2601.05579

Translating SQL dialects across different relational database management systems (RDBMSs) is crucial for migrating RDBMS-based applications to the cloud. Traditional SQL dialect translation tools rely on manually-crafted rules, necessitating significant manual effort to support new RDBMSs and dialects. Although large language models (LLMs) can assist in translating SQL dialects, they often struggle with lengthy and…

Accepted by ICSE 2026 Databases Artificial intelligence Language & NLP Matched by wording
9

PRACTIQ: A Practical Conversational Text-to-SQL dataset with Ambiguous and Unanswerable Queries

14 Oct · Mingwen Dong, Nischal Ashok Kumar, Yiqun Hu +9 · arXiv:2410.11076

Previous text-to-SQL datasets and systems have primarily focused on user questions with clear intentions that can be answered. However, real user questions can often be ambiguous with multiple interpretations or unanswerable due to a lack of relevant data. In this work, we construct a practical conversational text-to-SQL dataset called PRACTIQ, consisting of ambiguous and unanswerable questions inspired by…

10

Chain-of-Query: Unleashing the Power of LLMs in SQL-Aided Table Understanding via Multi-Agent Collaboration

14 Aug · Songyuan Sui, Hongyi Liu, Serena Liu +4 · arXiv:2508.15809

Table understanding requires structured, multi-step reasoning. Large Language Models (LLMs) struggle with it due to the structural complexity of tabular data. Recently, multi-agent frameworks for SQL generation have shown promise in tackling the challenges of understanding tabular data, but existing approaches often suffer from limitations such as the inability to comprehend table structure for reliable SQL…

AACL 2025 Main Conference (Oral) Language & NLP Artificial intelligence Databases Matched by wording
11

End-to-End Text-to-SQL with Dataset Selection: Leveraging LLMs for Adaptive Query Generation

8 Aug · Anurag Tripathi, Vaibhav Patle, Abhinav Jain +4 · arXiv:2508.06387

Text-to-SQL bridges the gap between natural language and structured database language, thus allowing non-technical users to easily query databases. Traditional approaches model text-to-SQL as a direct translation task, where a given Natural Language Query (NLQ) is mapped to an SQL command. Recent advances in large language models (LLMs) have significantly improved translation accuracy, however, these methods all…

Accepted in IJCNN25 Machine learning Artificial intelligence Matched by wording
12

Query Carefully: Detecting the Unanswerables in Text-to-SQL Tasks

19 Dec · Jasmin Saxer, Isabella Maria Aigner, Luise Linzmeier +2 · arXiv:2512.21345

Text-to-SQL systems allow non-SQL experts to interact with relational databases using natural language. However, their tendency to generate executable SQL for ambiguous, out-of-scope, or unanswerable queries introduces a hidden risk, as outputs may be misinterpreted as correct. This risk is especially serious in biomedical contexts, where precision is critical. We therefore present Query Carefully, a pipeline that…

Accepted to the HC@AIxIA + HYDRA 2025 Databases Artificial intelligence Language & NLP Matched by wording
13

VeriPIE: Checkable Query Plans and Evidence-Guided Selection for Text-to-SQL

12 Oct · Piyush Jha, Cruise Song, Zhengyu Li +1 · arXiv:2610.17493

Financial Artificial Intelligence (AI) governance and model risk management (MRM) emphasize independent validation, transparency, and effective challenge of AI-generated computations. Text-to-SQL translates natural-language questions into Structured Query Language (SQL), but queries that agree on one database can still express different computations. We present VeriPIE, a neurosymbolic framework combining…

14

Text-to-SQL Oriented to the Process Mining Domain: A PT-EN Dataset for Query Translation

18 Aug · Bruno Yui Yamate, Thais Rodrigues Neubauer, Marcelo Fantinato +1 · arXiv:2509.09684

This paper introduces text-2-SQL-4-PM, a bilingual (Portuguese-English) benchmark dataset designed for the text-to-SQL task in the process mining domain. Text-to-SQL conversion facilitates natural language querying of databases, increasing accessibility for users without SQL expertise and productivity for those that are experts. The text-2-SQL-4-PM dataset is customized to address the unique challenges of process…

15

Querying an astronomical database using large language models: the ALeRCE text-to-SQL system

16 Jun · P. A. Estevez, J. Espejo-Moreira, S. Sanfeliu-Alvarez +9 · arXiv:2606.18108

We develop a text-to-SQL (structured query language) system based on large language models (LLMs) using in-context learning and apply it to the Automatic Learning for the Rapid Classification of Events (ALeRCE) astronomical database. ALeRCE is a community broker for the Zwicky Transient Facility and the Vera C. Rubin Observatory. The system enables users to query the database in natural language (NL) and generates…

16

From Questions to Queries: An AI-powered Multi-Agent Framework for Spatial Text-to-SQL

23 Oct · Ali Khosravi Kazazi, Zhenlong Li, M. Naser Lessani +1 · arXiv:2510.21045

The complexity of SQL and the spatial semantics of PostGIS create barriers for non-experts working with spatial data. Although large language models can translate natural language into SQL, spatial Text-to-SQL is more error-prone than general Text-to-SQL because it must resolve geographic intent, schema ambiguity, geometry-bearing tables and columns, spatial function choice, and coordinate reference system and…