Cost-First or Sample-First: A Debate Over How Agent SQL Loops Handle Unknown Table Sizes
A drafting agent returns a query that reads fine: three joins, a GROUP BY , a date filter, an ORDER BY on the aggregate. Nothing in the SQL signals danger. The …






