Chapter 18Spaghetti Query
Enita non sunt multiplicanda praeter necessitatem (Latin, “entities are not to be multiplied beyond necessity”).
Your boss is on the phone with his boss, and he waves to you to come over. He covers his phone receiver with his hand and whispers to you, “The executives are in a budget meeting, and we’re going to have our staff cut unless we can feed my VP some statistics to prove that our department keeps a lot of people busy. I need to know how many products we work on, how many developers fixed bugs, the average bugs fixed per developer, and how many of our fixed bugs were reported by customers. Right now!”
You leap to your SQL tool and start writing. You want all the answers at once, so you make ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access