Verified analysis
How to Audit AI-Generated SQL Before Using It
A query can run without errors and still calculate a metric incorrectly. This protocol explains how to inspect joins, filters and aggregations, test in a controlled environment, and compare results with known references.