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…