Stop using so many CTEs
hex.tech