by obi1kenobi · 3y ago · 0 comments
At work I've seen SQL queries that are thousands of lines long that would make that 40-join query look like a toy example.
Then I tell them how when I try to wash my cars by assembling 50 straws into a water hose, the whole plastic straw concept quickly breaks down.
In my opinion you should never use plastic straws.
It's manual effort, but that's documentation always.
Best guess without actually seeing these queries, whoever wrote them is using bad aliases (like "foo1", "foo2" and so on) instead of something more reasonable.