一个数据库索引问题?

idx_a_b(a,b)select * from table where a=xxx会select * from table where b=xxx and a=xxx会select * from table where b=xxx不会
■网友
会。如何写sql没有关系,在优化引擎优化阶段已经优化掉了。where后无谓先后。


    推荐阅读