Leave a comment

Comments 4

khayman September 11 2009, 22:36:23 UTC
It hurts.

Reply

someone_else September 11 2009, 22:39:41 UTC
I understand the simplicity of the example, but seriously. Wouldn't someone benefit more from an example that actually needed a sub select vs a TOP 1 ORDER BY?

Reply

khayman September 11 2009, 22:53:27 UTC
I'm more disturbed by encouraging the nasty habits of subquerying. It's a short jump to pairing IN (or worse, NOT IN) with subqueries where performance gets wrecked. As they do later in the tutorial. They continue teaching people bad habits...

Reply

someone_else September 11 2009, 23:50:41 UTC
Oh dear. I hadn't even seen that part of the tutorial.

Reply


Leave a comment

Up