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…