DEV Community

Discussion on: Improving SQL Query by Adding conditions in Joins

Collapse
 
caderoux profile image
Cade Roux

In any decent optimizer, INNER JOIN and WHERE conditions are basically interchangeable.

Also, I'm suspicious about any index that starts on ID because they are highly selective from the start.

Would like to see the execution plans of the two different queries.