表table有42个字段,在字段a,b上建立了复合索引。 select * from 表 where a=‘’ and b =‘’不走索引。 select a,b from 表 where a=‘’ and b =‘’ 会走索引。 这是为什么呢?