# Large Analytics SQL Queries are a Code Smell A single large query in SQL can be hard to understand, test, debug, or change in the same way that an over-large function in code can be. A large query is also much harder to write! Feedback loops while writing large queries are slow and you'll often find yourself needing to guess at where the problem in your query is. When I started writing analytics queries, I wrote some pretty rough ones that are now hard to debug and maintain! Apologies to ev...