Better HN
top
new
best
ask
show
jobs
Log in
Sign up
oysteing
1 karma · joined Dec 10, 2015 (10y ago) · 1 submissions
Submissions
comment 10y ago ·
link
·
parent
You are right that this join query should be equivalent. However, with InnoDB there will not be much benefit from your suggested index. In InnoDB primary indexes are clustered. Hence, any column may be retrieved from the B-tree of the primary index.