07th Aug 2007

Why are my subqueries slow?

This is why.

Note to self: Only use subqueries ( SELECT * FROM `table1` WHERE `id` IN (SELECT `id` FROM `table2`) ) when it is impossible to achieve the same result using joins.

Technorati Tags: , , , ,

Leave a Reply

Free Anonymous Proxy