Hugo Kornelis (6/22/2010)
Wow!You should have saved that for QotD, Paul!
Scary isn't it!
I blame a fellow MVP of yours: Rob Farley for all this - he reminded me of it in a T-SQL Tuesday blog a little while ago. I didn't have the link to hand before, but I've found it now, for anyone else that's interested:
http://msmvps.com/blogs/robfarley/archive/2010/01/12/t-sql-tuesday-having-puzzle-answer.aspx
I don't recall where I first came across it - it just seems to spring up every few years to remind me that SQL doesn't always go hand in hand with common sense...:-)
Paul White
SQLPerformance.com
SQLkiwi blog
@SQL_Kiwi