# Clean SQL Tricks I'm not great at analytical SQL, but when I try to treat my SQL the way I treat code by breaking out intermediate values, prioritizing tight feedback loops, and using clear constant values, I find that I'm able to write better, more maintainable SQL, faster. I consistently use a few techniques to make this happen: 1. `create temporary table`: creating lots of small, focused tables has been the most important technique to improve my SQL queries. Smaller queries are much simp...