|国家预印本平台
首页|SQL-Exchange: Transforming SQL Queries Across Domains

SQL-Exchange: Transforming SQL Queries Across Domains

SQL-Exchange: Transforming SQL Queries Across Domains

来源:Arxiv_logoArxiv
英文摘要

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 comprehensive evaluation across multiple model families and benchmark datasets--assessing structural alignment with source queries, execution validity on target databases, and semantic correctness--demonstrates that SQL-Exchange is effective across a wide range of schemas and query types. Our results further show that using mapped queries as in-context examples consistently improves text-to-SQL performance over using queries from the source schema.

Mohammadreza Daviran、Brian Lin、Davood Rafiei

计算技术、计算机技术

Mohammadreza Daviran,Brian Lin,Davood Rafiei.SQL-Exchange: Transforming SQL Queries Across Domains[EB/OL].(2025-08-09)[2025-08-24].https://arxiv.org/abs/2508.07087.点此复制

评论