1
ORANGE: An Online Reflection ANd GEneration framework with Domain Knowledge for Text-to-SQL
2 Nov · Yiwen Jiao, Tonghui Ren, Yuche Gao +4 · arXiv:2511.00985
Large Language Models (LLMs) have demonstrated remarkable progress in translating natural language to SQL, but a significant semantic gap persists between their general knowledge and domain-specific semantics of databases. Historical translation logs constitute a rich source of this missing in-domain knowledge, where SQL queries inherently encapsulate real-world usage patterns of database schema. Existing methods…