组合索引和单值索引使用时的注意点

题目:给定一张mytable表,其中有4个字段(name,sex,birth,birthaddr),分别创建组合索引(name,sex,birth,birthaddr)where条件后边使用where name=xx and sex=xx或者name=xx and sex=xx,或者name=xx or sex=xx 或者sex=xx or name=xx,哪一种会使得索引失效?假如是单值索引又是
相关文章
相关标签/搜索