Most LLM-generated SQL doesn't fail. It runs and returns results, and that's exactly what makes it dangerous. The errors don't surface until they're already in your data.
https://readyset.io/blog/why-llms-write-incorrect-sql-and-what-that-means-for-your-database