by Jeff Shirley | Feb 20, 2018 | Blog
The worst query I ever had to write which powers a master report for the database user. Here it is. I don’t think I can make it smaller, there were too many weird rules, aggregates, and translations in it. And we needed to pull different columns based on...