Large Analytics SQL Queries are a Code Smell
Large analytics SQL queries can be unmaintainable and hard to debug. Writing large SQL queries is hard and slow! You can use temporary tables and views to break down those queries into smaller pieces that are easier to work with.
will-keleher.com