SQL Joins Vs SQL Subqueries (Performance)?
I would EXPECT the first query to be quicker, mainly because you have an equivalence and an explicit JOIN. In my experience IN is a very slow operator, since SQL normally evaluates it as a series of WHERE clauses separated by “OR” (WHERE x=Y OR x=Z OR…). As with ALL THINGS SQL though, your mileage … Read more