Preprint Open access
Why, Where, How: Taxonomy-guided Error Grounding for Code Repair in NL2SQL
SQL queries that large language models write from natural language questions can execute successfully yet produce incorrect results, so execution alone does not reveal what to fix. An error taxonomy says why the query is wrong, but not where to look or how to change it. Existing methods can guide SQL correction through …