select *
from
salaries
force index(idx_emp_no)
WHERE emp_no = 10005



强制索引,就是用force index+(索引名字),位置在where之前,from之后