by regexman1 · 2y ago · 0 comments
And I agree, I should have used CTEs for this query, I was just trying to save lines of code which had the unintended consequence of quite an ugly query. However I did want to use it as an example of indentation being useful to make it slightly easier to read. Although perhaps I'm the only one who thinks so.
I greatly appreciate the constructive criticism.
This is a pretty solid reason for use in temporary queries so no doubt this approach will be around for a long time.