mysql database indexes fail

EXPLAIN select * from `user` where id =1;

Results of the
Here Insert Picture Description

After using the index or search results in failure

EXPLAIN select * from `user` where id =1 or sex=0;

Results of the
Here Insert Picture Description

Published 23 original articles · won praise 1 · views 3142

Guess you like

Origin blog.csdn.net/qq_43669912/article/details/96387211